I have built a model that I wish to distribute to members of my organisation to be able to use. The tool runs as follows: input a boundary, convert feature to point, buffer and then batch clip selected features to the buffer boundary. It works fine and exports layers as Clip%Name%. However, I am unable to work out how to easily allow other members of the organisation to set the geodatabase for the exports to go to. When I run it as a tool, it automatically exports to the geodatabase associated with the project in which I made the model. If I set the output values to be a parameter, it allows me to change the location of where the new layers will be saved, but only one feature from the export actually works, when there should be multiple. I am able to change the geodatabase in the path name, but this isn't user friendly and more than likely will end up with data being exported to the wrong gdb.
I am new to model builder so may have missed something obvious, but I have tried changing the current and scratch workspace environments but it doesn't help. Any help would be greatly appreciated!
Solved! Go to Solution.
Hello @AF2023,
I think you can easily accomplish it creating a variable (workspace type). Then set this variable as parameter to allow users to choose the right output. Finally you just need to change the Clip%Name% to %variableName%\Clip%Name%.
Hope that helps!
Hello @AF2023,
I think you can easily accomplish it creating a variable (workspace type). Then set this variable as parameter to allow users to choose the right output. Finally you just need to change the Clip%Name% to %variableName%\Clip%Name%.
Hope that helps!
Brilliant - thank you!