Solved

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

  • 15 June 2018
  • 4 replies
  • 17 views

Badge

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?

icon

Best answer by takashi 15 June 2018, 16:16

View original

4 replies

Badge
@MarkAtSafe

 

Badge +10

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

Userlevel 2
Badge +17

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

Badge

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