Skip to main content
Question

How to get input Revit filename for dynamic output in FeatureWriter?

  • August 29, 2024
  • 1 reply
  • 19 views

kelin84
Contributor
Forum|alt.badge.img+2

I'm using a FeatureReader to import Revit (*.RVT) files. I need to loop through a folder of Revit files and write the output to a GDB using the same filename as the input Revit file.

I'm looking for something like fme.basename, but I can't find it anywhere, neither in the FeatureReader's geometric outputs nor in the schema. I can't find any attribute to expose that would give me the input filename. I've also tried FilenamePartExtractor, but I have nothing to put in the "Source Filename" field.

What am I missing here?

 

Thanks

1 reply

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • August 29, 2024

At the end of the dialog “FeatureReader > params” you can find “Schema Attributes” to expose fme_basename and / or fme_dataset.


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