Skip to main content

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?

@MarkAtSafe

 


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


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


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