Convert 3d polyline to 2d polyline and keep object data

Convert 3d polyline to 2d polyline and keep object data

tom_berning
Advocate Advocate
7,147 Views
6 Replies
Message 1 of 7

Convert 3d polyline to 2d polyline and keep object data

tom_berning
Advocate
Advocate

I have 3D polylines of utilities that contain object data that I want to convert to 2D polylines so they will display linetypes but I need to keep the object data that is assigned to the 3D polylines. Does anyone know of a process or lisp routine that can do this?

Tom Berning
Woolpert, Inc.
Civil 3D 2020
0 Likes
Accepted solutions (1)
7,148 Views
6 Replies
Replies (6)
Message 2 of 7

Kundertk
Advocate
Advocate

There might be a more elegant solution, but I'd probably just wblock them out, open the new drawing and flatten the polylines.  You might need to explode and rejoin, if the option to set linetype generation to ON does not work.  Put them on a different layer so you don't mix them up.  Then just insert the new entities into your drawing.

0 Likes
Message 3 of 7

rl_jackson
Mentor
Mentor
Tom,

If you convert the 3D line to a feature line do you lose the data? You would have linetype generation that way. Where the lines survey figures at one time? You could also convert them to that as well, without disturbing the data. What sort of data, do they have that your trying to retain?

Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 4 of 7

tom_berning
Advocate
Advocate

Converting to feature lines looses the data. I am not sure what source these 3d polylines came from. We received files from the client and will be supplying the client with one overall file. The object data contains information about the utility lines, i.e. duct bank id, storm pipe id, etc.

Tom Berning
Woolpert, Inc.
Civil 3D 2020
0 Likes
Message 5 of 7

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

how about command _MAPCLEAN? On the third page of the wizard you can select which objects should be converted to two-dimensional polylines

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 6 of 7

doni49
Mentor
Mentor

@Kundertk wrote:

There might be a more elegant solution, but I'd probably just wblock them out, open the new drawing and flatten the polylines.  You might need to explode and rejoin, if the option to set linetype generation to ON does not work.  Put them on a different layer so you don't mix them up.  Then just insert the new entities into your drawing.


CONVERT3DPOLYS

It will convert a 3d polyline to LWPOLYLINE.  It'll still all be linked as one PL so no need to rejoin.  I think you will still need to maintain two sets of the data though -- one file to show the linetypes and one to retain the extra data.



Don Ireland
Engineering Design Technician




If a reply solves your issue, please remember to click on "Accept as Solution". This will help other users looking to solve a similar issue. Thank you.


Please do not send a PM asking for assistance. That's what the forums are for. This allows everyone to benefit from the question asked and the answers given.

0 Likes
Message 7 of 7

tcorey
Mentor
Mentor

Do you simply need the vertices all at one elevation or do you need the flag 70 reset to equal 2D polyline?



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Platinum Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
0 Likes