Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

CONS question

$
0
0

I would like to do something like

 

(if (setq SS (ssget "X" (list (cons 0 "INSERT") (cons 2 "TOBY") (cons 2 "MANI"))))        )

 

where the selection set SS includes any instance of the block "TOBY" and "MANI"

 

my code isn't working where am I going wrong? 


Viewing all articles
Browse latest Browse all 14319

Trending Articles