TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: alanjt on September 25, 2010, 04:51:58 PM
-
How do you create a selection set with SSGET and ignore objects that are not ByLayer for linetype and/or color?
-
While it's true that bylayer settings are not written to entity data lists,
the SSGET filter mechanism does recognize "Bylayer" for linetypes and the
number 256 for colors, meaning color "Bylayer".
(ssget "X" '((6 . "Bylayer")(62 . 256)))
will return all objects with ltype and color as bylayer
(ssget "X" '((6 . "Continuous,Bylayer")(62 . 256)))
will return all objects with ltype and color as bylayer and ltype Continuous
-
SOB! :realmad: :realmad:
I swear I tried that. Thanks Alan.