Skip to main content
Solved

Write DWG file to separate files


arash_hokm
Contributor
Forum|alt.badge.img+8

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

 

Best answer by dustin

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

View original
Did this help you find an answer to your question?

3 replies

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • December 2, 2022

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • December 2, 2022

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


arash_hokm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • December 5, 2022
dustin wrote:

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🙂


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