List from selection set

Discussion in 'AutoCAD' started by Mark, Jun 10, 2004.

  1. Mark

    Mark Guest

    If i create a selection set of inserts in a drawing using the code below -

    (setq blockset (ssget "X" '((0 . "INSERT"))))

    How can you create a list of the blocks for "blockset"?

    eg. Presuming drawing contains blocks named "abc" "def" "hij"
    Create a list from selection set "blockset"
    Result - ("abc" "def" "hij")

    Cant seem to locate this method.

    Ta
    Mark
     
    Mark, Jun 10, 2004
    #1
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.