Skip to main content
Solved

Is there any way to convert light-weight Polylines to 3D Polylines?


Forum|alt.badge.img

Hello, I have a 2D City Map .*dxf file. I draped my city map on digital terrain model to obtain a 3D city map. It works fine but when I try to use .*dxf/.*dwg writer, ? see this problem.

"AutoCAD Writer: Encountered a feature with inconsistent Z values, and type 'autocad_lwpolyline'. For this type, only geometry with constant Z values, or 2D geometry are supported. Dropping Z values"

In my output, the geometry which consist of 'autocad_lwpolyline' does not have Z values. Is there any way to solve this problem?

Best answer by takashi

Possibly the features have the format attribute "autocad_original_entity_type" with the value "autocad_lwpolyline". Try removing it before writing.

View original
Did this help you find an answer to your question?

Forum|alt.badge.img
  • June 15, 2018
@MarkAtSafe

 


lars_de_vries
Forum|alt.badge.img+10

You could try to set the attribute autocad_entity to autocad_polyline or autocad_3dpolyline.


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • June 15, 2018

Possibly the features have the format attribute "autocad_original_entity_type" with the value "autocad_lwpolyline". Try removing it before writing.


Forum|alt.badge.img
  • June 15, 2018

Hello, I changed the format attribute autocad_original_entity_type values to autocad_3dpolyline and it works fine. Thank you both for your help.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings