Highlight Help with Selection Sets and Entity Count

Discussion in 'AutoCAD' started by Oberer, Sep 30, 2004.

  1. Oberer

    Oberer Guest

    I've modified our "SSX" lisp to include a highlighting option as well as a "select previous" so that they are put into the proprties dialoge.
    However, there are times (object count is high) when i don't want to highlight.
    Can someone help me with this code?
    TIA!!

    ;*****************************************************************************************************
    ; new code
    ;*****************************************************************************************************
    ;throw these objects to the properties box
    ;(setq SelSetCount (sslength f2))

    ; (IF ((sslength f2) > 500)
    ; (PROGN
    ;(COMMAND "SETVAR" "HIGHLIGHT" "0")
    (command "._pselect" "P" "")
    ;(COMMAND "SETVAR" "HIGHLIGHT" "1")
    ; )
    ; )
    ;*****************************************************************************************************
    ;END NEW CODE
    ;*****************************************************************************************************
    ;)
     
    Oberer, Sep 30, 2004
    #1
  2. Oberer

    T.Willey Guest

    (IF ((sslength f2) > 500)
    should be
    (IF (> (sslength f2) 500)

    Tim
     
    T.Willey, Sep 30, 2004
    #2
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.