TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: w64bit on June 06, 2021, 07:49:55 AM
-
I tried to check if a drawing contains wipeouts (model and layouts) but the code it's not working.
(if (setq selwi (ssget "X" '(list '(0 . "WIPEOUT"))))(alert "Drawing contains WIPEOUTS !"))
Am I missing something here?
-
(ssget "X" '(0 . "WIPEOUT"))
-
Another one. Not working.
(if (/= (setq selwi (ssget "X" '(0 . "WIPEOUT"))) null) (alert "Drawing contains WIPEOUTS !"))
-
(if (setq selwi (ssget "X" '((0 . "WIPEOUT"))))(alert "Drawing contains WIPEOUTS !"))
-
Thank you all very much.