Skip to main content
Question

write multiple layers containing polylines to a single dxf file


I am wondering if it is possible to output polylines that are created through seperate worlflows in a single workbench to a single dxf file? I am reading  x,y data out of a database and using FME to create polylines and write that to a DXF file. I am able to get that to work with a single polyline file but if I try to do it with two only one will appear in the output file when I would like to have two seperate layers. I'm hoping I just need to find the transfromer to do that.

 

 

Thanks,

 

 

Vince

2 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • May 1, 2014
Hi Vince,

 

 

Just create another writer feature type for the second layer. An easy way is:

 

Right-click on the 1st writer feature type; select "Duplicate"; modify feature type name (i.e. layer name) and other properties if necessary.

 

 

Alternatively, you can also use fanout option of the writer feature type if the two layers have the same schema.

 

Append preferable layer name as an attribute (e.g. named "_layer") to each polyline; send them to the same writer feature type; fanout features by "_layer".

 

This image shows an example for fanout option settings on the writer feature type.

 

 

 

Takashi

  • Author
  • May 1, 2014
Thanks Takashi, using duplicate worked. I tried something similar earlier when I created an other writer that pointed to the same output file but that didn't seem to work. Thanks for your help!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings