Skip to main content
Solved

How to set the destination data location ?


bruno
Contributor
Forum|alt.badge.img+3
  • Contributor

Hello,

 

I would like to automate a process on IFC files analysis in order to generate an Excel report per IFC file. To do this, I use the workspacerunner by giving a directory which contains all the IFC files to analyze. But I can't write Excel files in this same directory. I created an attribute containing the target directory name, but I cannot give it to my "destination data" transformer.

How is it possible to customize the "destination data" transformer ?

Thank in advance

Best regards

Bruno

Best answer by nielsgerrits

@bruno if you mark @birgit’s answer as the correct one, the question will be marked as answered.

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

3 replies

birgit
Influencer
Forum|alt.badge.img+16
  • Influencer
  • July 22, 2024

Hi,

Your workspacerunner is running a different workspace, in this workspace you need to create a parameter (right mouse click on User parameters) which is called for example "Destination_dir” and make sure it's published. Make your writer use the value of this parameter as the write location. Go back to you main workbench and double click your workspacerunner. The new parameter shoud be there as a field that you can fill in. If it is not, try to reselect you workspace that you want to run to force FME to fetch the settings again.

 


bruno
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • July 22, 2024

Hi Birgit,

Thanks to your explanations, I was able to create an attribute which retrieves the name of the input directory and which I was able to transmit to the workspace runner. The underlying workbench correctly retrieves this directory name in the published parameter 😀

Thanks a lot

Best

Bruno


nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • July 22, 2024

@bruno if you mark @birgit’s answer as the correct one, the question will be marked as answered.


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