Print Page | Close Window

3d/2d polylines -> 3d/2d lwpolylines

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=2645
Printed Date: 20.Apr.2026 at 05:20


Topic: 3d/2d polylines -> 3d/2d lwpolylines
Posted By: hotcoffee
Subject: 3d/2d polylines -> 3d/2d lwpolylines
Date Posted: 10.Nov.2009 at 15:17
for 2d polylines convertpoly is usable but how can I convert 3d polylines?
p.s. flatten -> unknown command

thanks



Replies:
Posted By: Arben.Allaraj
Date Posted: 10.Nov.2009 at 16:46
Originally posted by hotcoffee hotcoffee wrote:

for 2d polylines convertpoly is usable but how can I convert 3d polylines?
p.s. flatten -> unknown command

thanks


Have you see this routine in this page:
http://newsline.cadalyst.com/code/browseyear.cfm?fullyear=2003#9


-------------
Ing Arben.Allaraj
http://cad-drafting-corner.blogspot.com


Posted By: CarlB
Date Posted: 10.Nov.2009 at 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.


Posted By: Vladimir Michl
Date Posted: 11.Nov.2009 at 10:17
There are 4 methods described in the related tip 5673 - see:
http://www.cadforum.cz/cadforum_en/qaID.asp?tip=5673 - http://www.cadforum.cz/cadforum_en/qaID.asp?tip=5673


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner



Print Page | Close Window