Question

Shp to DWG, how to draw order layers?


Hi,

I'm converting different shapefiles to 1 DWG. How can I set the draw order of the layers in Autocad automatically with FME?

Thanks!

Regards,

Pieter


2 replies

Userlevel 3
Badge +18

hi @pietervb94, as far as i know the order in the dwg is defined by the order of the objects reaching the writer (last object on top). You could try holding/sorting your features to get the desired result, depending on how complex your data is...

There's an (old) idea you could vote on to get more control on drawing order:

https://knowledge.safe.com/idea/47427/format-attributes-for-autocad-drawing-order.html

Badge +3

Add a Sorter before the FeatureWriter to sort the Features by layer. FME Format attribute: autocad_layer.

Reply