Skip to main content

Hello

I want to write Lines (with 2 points) instead of Polylines, so i use a Chopper to create Lines with 2 Points. But if i use a DWGStyler to set the Linetype all those Lines are written to DWG as Polylines. If i do not use the DWG Styler everything is like i need it. I'm not sure if the DWGStyler is the main reason for this.

So i would like to know, is it possible to force the Writer to create Autocad Lines instead of Polylines?

 

The writers Autodesk AutoCAD DWG/DXF and Autodesk AutoCAD RealDWG DWG/DXF create the same result.

 

Thanks

Hi @hansgm,

The DWGStyler adds (but does not expose) the attribute autocad_elevation, which forces the writer to create a polyline. Please use an AttributeExposer to expose autocad_elevation, then an AttributeRemover to remove it.


Hi Dave

that's it.

Thanks very much.

Hans


Reply