Skip to main content

Hi,

 

By default autocad_line gets writen in Autodesk DWG/DXF as line if it has 2 vertices or polyline if it has 2 or more vertices according to https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/acad/Lines.htm

 

Is there a way to treat and write lines as polylines regardless of number of vertices in Autodesk DWG/DXF.

 

Cheers,

Želimir.

 

 

If you create a polyline in AutoCAD and check quickproperties it is indeed a polyline.If you now keep the begin and end vertex and remove all in between and check quick properties, autocad still says it is a polyline. Afaik, you cannot (over)write the autocad parameter to do so. I would argue that to call a line a polyline would be like realizing that you can identify a square as a heavily stroked circle. (even if it brakes some circle rules)


Hi @zzupljanin,

Please create an attribute on the output features named autocad_original_entity_type, and set it to autocad_polyline. This will force the output to be a polyline, regardless of the number of vertices.


Hi @zzupljanin,

Please create an attribute on the output features named autocad_original_entity_type, and set it to autocad_polyline. This will force the output to be a polyline, regardless of the number of vertices.

Yes, that's the one. Thank you


Reply