
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I'm fairly new to AutoLISP, and may very well be doing this all wrong so please tell me if there is a better way of doing this.
I want to explode (or extract) the triangles from the surfaces within my drawing by lisp. This is as far as I've gotten:
(defun surfextr ( / ss)
(command "view" "o" "F")
(setq ss (ssget "A" '((0 . "AECC_TIN_SURFACE"))))
(command "._explode" ss)
(princ)
)
I change the view to "front" just to make sure I just don't explode the borders... Not neat, I know, but only way I could figure out to do this.
Problem is, this command does exactly what I want, but only for one of the three surfaces within my drawing.
Any suggestion as to why this is, and how I can fix it?
Sincerely,
Fredrik
Solved! Go to Solution.