From what I've gathered from the help files in Vlisp, the way to extract attributes from a block is via:
How do I add this to my code (below), and how do I define the selection set I've created and which attributes to extract?
RetVal = object.GetAttributes()
If all the blocks listed aren't present, will that cause a problem? For that, should I add an "or" operator?
Btw, do I need this?:
Routine so far:
Thanks for any advice!
(defun c:aavtest (/ SelSet )
(setq SelSet (ssget "x" '((0 . "INSERT" )
(2 . "BARREL_ANCHOR,SPRING_LOAD,LIVE_END,DEAD_END,EYEBOLT_ASSEMBLY,INT_ANGLE,TERM_ANGLE,TERM_TUBE,INT_POST" ))))