Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2D Polyline with 3D Verticies

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
399 Views, 3 Replies

2D Polyline with 3D Verticies

I have a polyline in the attached file that does not show any z vertex in the properties box, but when you ID ther verticies, each vertex has a different Z value

 

The polyline has an elevation, but the z value at the verticies don't match that.

 

Can someone shed some light on this?

 

Cheers,

 

Brent

3 REPLIES 3
Message 2 of 4
3wood
in reply to: Anonymous

When you inquire the entity information with LIST command, you will see all different Z value of vertexes.

It is a LWPOLYLINE, not a 2D Polylines, definitely every vertex can has its own Z value.

polyline.png

Message 3 of 4
Kent1Cooper
in reply to: Anonymous

It's not drawn in [or parallel to] the World Coordinate System.  You can tell by the last entry in the entity data list, which is the extrusion direction, meaning the direction [in unit-vector form] of the Z axis of the object in relation to the WCS:

 

(210 0.000325872 0.000500258 1.0)

 

For something drawn in the WCS, or in a User Coordinate System parallel to it, that would be:

 

(210 0.0 0.0 1.0)

 

so it's pretty close to lying parallel to the WCS.  You can also tell that it's close by the fact that the Z coordinates span a small range in relation to its length.

 

The elevation of it:

 

(38 . 168.526)

 

is in relation to the origin under which it was drawn and its extrusion direction.  For a LWPOLYLINE drawn in or parallel to the WCS, if you List it when you are in the WCS, that number will be the same as all the Z coordinates in the List results.  Or if you set the UCS to match it {UCS command, OBject option], List will show all Z coordinates as 0.

Kent Cooper, AIA
Message 4 of 4
Ajilal.Vijayan
in reply to: Anonymous

Try to convert this pline to 3D POLYLINE

Have found a lisp routine for the conversion

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost