Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to use filter selection on Named Selection?
(defun c:convertMLtoPL() (setq select (car(entsel))) (command "._explode" select) (setq select(ssget "p")) (setq selectterra (select (list (cons 0 "LINE")(cons 62 96)))) (setq selectpositivo (select (list (cons 0 "LINE")(cons 62 10)))) )
I want to convert MLINE to PLINE (explode and join) then separate the selection based on the object color to be able to classify into layers, if I use:
(setq selectterra (ssget "p"(list (cons 0 "LINE")(cons 62 96))))
It works, but when I try to use the next filter, the new "previous selection" now reffers to the last selection and result nil... So I need to create several filtered selections based on the original selection...
Thanks.
Solved! Go to Solution.