Skip to main content
Question

Assign unique values to multiple inputs

  • May 7, 2019
  • 1 reply
  • 9 views

Forum|alt.badge.img

FME-newby question: I selected multiple files (.dwg) and dragged them into my workbench. IFME now sees it as 1 input, so when I extract the points I need I get one output, but I want 1 output per file. How do I assign unique values to each file/layer?

 

In short: i have surface profiles as .dwg and i want to turn every single file into a profile in excel.

 

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.

1 reply

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • May 7, 2019

On the feature type (in your screenshot LD09) expose the fme_basename attribute (this contains the file name of the input).

On the Excel writer you can re-use that file name to create separate Excel files.

No need to add an attribute, but use fme_basename.