Solved

Write DWG file to separate files

  • 2 December 2022
  • 3 replies
  • 7 views

Badge

Hello FME community,

 

I have 200 dwg files that works as tiles (mosaics) for a large area. I want to do a certain process on all DWG files and then save the file with the same name. when I read and then write all DWG files with fme, they are all saved in one DWG file.

 

does anyone know how I can read all DWG files at once and write them to individual DWG files.

 

Thanks for your support

 

icon

Best answer by dustin 2 December 2022, 13:02

View original

3 replies

Userlevel 2
Badge +12

Look at

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop/Workbench/Setting_Dataset_Fanout_Properties.htm

Userlevel 3
Badge +26

The name of the original DWG the feature was read from will be stored on the fme_basename format attribute. Using the document referenced by @tomfriedl​, you can set the fanout parameter of the writer to @Value(fme_basename).dwg in the Navigator panel.image

Badge

The name of the original DWG the feature was read from will be stored on the fme_basename format attribute. Using the document referenced by @tomfriedl​, you can set the fanout parameter of the writer to @Value(fme_basename).dwg in the Navigator panel.image

@dustin​  thank you very much. you explained very well🙂

Reply