Message 1 of 9
Not applicable
10-18-2016
12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I placed a pline to make a box, extrude it to became 3Dsolid, and want to convert 3D solid to 3D faces. I ran codes below, but sometime it converted and other time it didn't. Anyone has a suggestion that I can try?
codes:
(prompt "\nSelect 3D solid to convert: \n")
(setq 3D_ENT (car (entsel)))
(command "convtosurface" 3D_ENT "")
(vla-SendCommand
(vla-get-ActiveDocument (vlax-get-acad-object))
(strcat "UNION" " " "(ssget \"L\")" " " "\r")
)
(vla-SendCommand
(vla-get-ActiveDocument (vlax-get-acad-object))
(strcat "MESHSMOOTH" " " "(ssget \"P\")" " " "\r")
)
(vla-SendCommand
(vla-get-ActiveDocument (vlax-get-acad-object))
(strcat "explode" " " "(ssget \"L\")" " " "\r")
)
Solved! Go to Solution.