Select to view content in your preferred language

Duplicate Script Tool Parameter

278
0
12-06-2023 11:34 AM
Status: Open
Labels (1)
MErikReedAugusta
Occasional Contributor III

When creating a script tool from scratch, there doesn't seem to be any way to easily duplicate the settings for one parameter when creating another.

For example, I have 8 parameters that all have nearly-identical settings, because they're all accepting similar feature classes (but need to remain separate for multiple reasons).  Right now, that means I have to manually enable all of the filters & dependencies for each of them separately.

If there was a way to "duplicate this parameter" or similar, I'd only have to change one or two things, and it'd be significantly faster.

I know I could also switch to a Python Toolbox and skip most of this, but I feel like there's an underserved middle ground here for tools that don't warrant the complexity & headache of building everything in a single python script while still having enough complexity to be tedious to have to enter longhand.