Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have written a lisp to explode civil 3D objects in a drawing before saving it back to a previous version. Part of this lisp explodes the surfaces in the drawing twice to leave just polylines and turns the linetype generation on for the polylines.
How do I format an if statement so that if a surface does not existing in the drawing it will continue?
(setq ssSURFACE (ssget "X" '((0 . "AECC_TIN_SURFACE"))))
(command "explode" ssSURFACE "")
(COMMAND "EXPLODE" "P" "")
(COMMAND "PEDIT" "M" "P" "" "L" "ON" "")
Thanks,
Cory
Cory
Solved! Go to Solution.