Message 1 of 2

Not applicable
10-29-2018
02:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to write script that will convert each group to separate 3d solid. I found function which splits groups to several 3d solids. How can I make reverse action?
(defun PurgeAllGroups (/ grpList index grp) (setq grpList (dictsearch (namedobjdict) "ACAD_GROUP")) (setq index 1) (while (setq grp (nth index grplist)) (if (= (car grp) 3)
; I think, here is I need to convert group to 3d solid (entdel (cdr (nth (+ index 1) grplist))) ) (setq index (+ 1 index)) ) (princ))
I will be grateful for help with script 🙂
Solved! Go to Solution.