Display full version of the post: 3d/2d polylines -> 3d/2d lwpolylines

hotcoffee
10.11.2009, 15:17
for 2d polylines convertpoly is usable but how can I convert 3d polylines?p.s. flatten -> unknown command thanks

Arben.Allaraj
10.11.2009, 16:46

[QUOTE=hotcoffee]for 2d polylines convertpoly is usable but how can I convert 3d polylines?p.s. flatten -> unknown command thanks
[/QUOTE]Have you see this routine in this page:http://newsline.cadalyst.com/code/browseyear.cfm?fullyear=2003#9

CarlB
10.11.2009, 19:18
Best/easiest way would be a lisp routine as in the link Arben posted.
 
Flatten would not help you much anyway; it would change all z values to 0 but would still be a 3d polyline, not responsive to CONVERTPOLY.
 
However you could explode the flattened 3dpoly, use pedit or mpedit to join back to a lwpolyline.
 
You should be able to install Express Tools off the original installation disk, so you would have the Flatten command.

Vladimir Michl
11.11.2009, 10:17
There are 4 methods described in the related tip 5673 - see:
http://www.cadforum.cz/cadforum_en/qaID.asp?tip=5673