Properties dialog box

Discussion in 'AutoCAD' started by GaryDF, Sep 16, 2004.

  1. GaryDF

    GaryDF Guest

    How do I keep the autocad properties dialg box from coming up,
    whenever I use change command within a lisp routine?

    Using autocad 2005 windows 2000

    (command ".change" SS2 "" "properties" "la" "0-XREF" "")
    (command "_propertiesclose") ;<--I have to add this to close the properties
    dialog box


    Gary
     
    GaryDF, Sep 16, 2004
    #1
  2. GaryDF

    T.Willey Guest

    Try
    (command "_.chprop" SS2 "" "properties" "la" "0-XREF" "")


    Tim
     
    T.Willey, Sep 16, 2004
    #2
  3. Shouldn't need the "properties" option at all if you're using Chprop (where
    it isn't an option in the prompt) instead of Change, This ought to be
    enough for that approach:
    (command "_.chprop" SS2 "" "la" "0-XREF" "")

    I don't have 2005, and your original works right in 2004. Could it be that
    Change is now a dialog-box based command in 2005? If so, try using it with
    the preceding hyphen.

    Kent Cooper, AIA


    ...
     
    Kent Cooper, AIA, Sep 16, 2004
    #3
  4. GaryDF

    GaryDF Guest

    Thanks that fixed it.
    No I have to go back and change a lot of my old legacy code.

    Gary
     
    GaryDF, Sep 16, 2004
    #4
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.