Jump to content
cat3appr

converting 3D poliline in 2D?

Recommended Posts

cat3appr

hi all

 

I've searched already online and I just found the command CONVERT, i applied it but my 3d polyline doesn't get converted in 2D..

 

any other suggestion?

 

basically i need to change the linetype into dashed, and it doesn't let me do it, i think it depends on the fact that it is a 3D polyline

 

please advice thank you!

Share this post


Link to post
Share on other sites
eldon

I think that the command CONVERT is not appropriate, as it only converts polylines that are 2D to start with.

 

If you use the command Flatten, then the 3D polyline will have all vertices at zero elevation, but it is still a 3D polyline, which can only have a Continuous linetype.

 

So explode it and use Pedit to re-make the polyline as a 2D polyline, and then you can have any linetype that you want.

Share this post


Link to post
Share on other sites
cat3appr
I think that the command CONVERT is not appropriate, as it only converts polylines that are 2D to start with.

 

If you use the command Flatten, then the 3D polyline will have all vertices at zero elevation, but it is still a 3D polyline, which can only have a Continuous linetype.

 

So explode it and use Pedit to re-make the polyline as a 2D polyline, and then you can have any linetype that you want.

 

 

thanks! i have exploded it but then i don't succeed to convert it into a polyline. When I do pedit, and select all the pieces, it starts to get me various options but i never get to an end. i then need to esc, and that's it, i still have

the exploded opject

Share this post


Link to post
Share on other sites
cat3appr
thanks! i have exploded it but then i don't succeed to convert it into a polyline. When I do pedit, and select all the pieces, it starts to get me various options but i never get to an end. i then need to esc, and that's it, i still have

the exploded opject

 

Zero object joined... it doesn't like to join those small exploded polylines..

Share this post


Link to post
Share on other sites
eldon

When I use Pedit, I first of all pick one line, turn that into a polyline and then use the Option Join, and then when it says select objects, I type "all". As long as your polyline segments do not join onto anything else, then the polyline is formed.

 

Does the original polyline only consist of straight lines? and did you use the command Flatten?

Share this post


Link to post
Share on other sites
cat3appr
When I use Pedit, I first of all pick one line, turn that into a polyline and then use the Option Join, and then when it says select objects, I type "all". As long as your polyline segments do not join onto anything else, then the polyline is formed.

 

Does the original polyline only consist of straight lines? and did you use the command Flatten?

 

no it doesn't work... i only converted the first segment, then he doesn't want to join the others... better if you try in the actual file attached....

 

thans!

issue line.dwg

Share this post


Link to post
Share on other sites
eldon

Can you post the original 3D line please?

Share this post


Link to post
Share on other sites
cat3appr
Can you post the original 3D line please?

 

here's the original, please if you manage, best would be to post the file already formatted. I need it dashed. 2D polyline dashed

 

than you!

original issues.dwg

Share this post


Link to post
Share on other sites
eldon

Thank you for responding so quickly and posting the drawing.

 

I don't know what I am doing different to you, but using my system, I managed to make it all one 2D polyline.

 

First of all I exploded it (it was already at zero elevation). Then starting Pedit, I chose one segment and turned that into a polyline. I continued with the option Join, and typed "all" when asked to choose objects. It joined up 84 segments. I turned on the linetype generation, and made the attached drawing file. I changed the layer name to Red, so that I was not confused (easy for me to do!!)

original issues into 2D polyline.dwg

Share this post


Link to post
Share on other sites
Cad64

I use a lisp routine to convert 3d polylines to 2d. See attachment below. Just load it and then type PL32 at the command line to run it.

 

You can thank Tony Hotchkiss. He wrote it. ;)

pline-3d-2d.lsp

Share this post


Link to post
Share on other sites
cat3appr
Thank you for responding so quickly and posting the drawing.

 

I don't know what I am doing different to you, but using my system, I managed to make it all one 2D polyline.

 

First of all I exploded it (it was already at zero elevation). Then starting Pedit, I chose one segment and turned that into a polyline. I continued with the option Join, and typed "all" when asked to choose objects. It joined up 84 segments. I turned on the linetype generation, and made the attached drawing file. I changed the layer name to Red, so that I was not confused (easy for me to do!!)

 

thanks a lot eldon, it 's perfect :) yep i got stuck there at the joinin thing .

appreciated!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×