Skip to main content
Solved

Write DWG file to separate files

  • December 2, 2022
  • 3 replies
  • 62 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

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

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 627 replies
  • 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
  • 44 replies
  • December 5, 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

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