Skip to main content
Solved

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

  • June 15, 2018
  • 4 replies
  • 148 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

Forum|alt.badge.img
  • Author
  • 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
Celebrity
  • Best Answer
  • 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
  • Author
  • 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.