Lisp routine for setting default hatch setting to "associative"?

Discussion in 'AutoCAD' started by JamieLandmark, Mar 30, 2005.

  1. Thank you very much, Walt. The routine works just as I'd hoped.

    Regards,

    Jamie
     
    JamieLandmark, Mar 31, 2005
    #21
  2. JamieLandmark

    Tom Smith Guest

    Sorry, I didn't test it. There was an extra right parenthesis after the setvar statemet. Try this:

    (defun c:h ()
    (setvar 'hpassoc 1)
    (initdia)
    (command "bhatch")
    (princ)
    )


    Message was edited by: Tom Smith
     
    Tom Smith, Mar 31, 2005
    #22
  3. JamieLandmark

    Walt Engle Guest

    Always happy to help.
     
    Walt Engle, Mar 31, 2005
    #23
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.