- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everyone,
I'm looking for a lisp routine that needs to be isolated only Line and Polyline objects, on my complex drawing.
I found a lisp on a page, it's working fine, but i want to isolate only Line and Polyline objects (Not by Layers)
https://www.cadtutor.net/forum/topic/30966-lisp-for-hidingshowing-objects/page/2/#comment-374578
(defun c:II (/ tab all ss i e)
;; temporarily isolate selected objects (regen will bring them back)
;; Alan J. Thompson
(setq tab (if (eq (getvar 'CVPORT) 1)
'(410 . "Model")
(cons 410 (getvar 'CTAB))
)
all (ssget "_A" (list tab))
)
(if (setq ss (ssget (list tab)))
(repeat (setq i (sslength all))
(redraw (setq e (ssname all (setq i (1- i))))
(if (ssmemb e ss)
1
2
)
)
)
)
(princ)
)
Thanks
Solved! Go to Solution.