Selecting by properties

Discussion in 'AutoCAD' started by Patrick Weaver, May 10, 2004.

  1. Hello all,

    I'm wondering if it's possible to select all objects of a given property or
    properties (in this case, linetype), without user input. I want to create a
    one-click solution for people who don't use Autocad very much and might have
    to constantly be re-schooled in using Quickselect or filters. I was hoping
    to do this via a macro (since I can mostly accomplish that) instead of LISP,
    but I doubt that'll happen. I appreciate your input.

    Thanks
    Patrick
     
    Patrick Weaver, May 10, 2004
    #1
  2. Patrick Weaver

    Jürg Menzi Guest

    Patrick

    Check (ssget "X" '(FilterList)), details see AutoCAD's help...

    Cheers
     
    Jürg Menzi, May 10, 2004
    #2
  3. Do I have this formatted correctly? I'm getting a "bad point argument" when
    I run it.

    (defun c:hlines ()
    (setq ss1 (ssget "X" '(6 . "HIDDEN"))))

    Thanks
     
    Patrick Weaver, May 11, 2004
    #3
  4. (setq ss1 (ssget "X" '((6 . "HIDDEN"))))
     
    Allen Johnson, May 11, 2004
    #4
  5. Thanks
     
    Patrick Weaver, May 11, 2004
    #5
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.