I'm writing an arcpy script for a tool that has a large number of parameters (around 10).
About half of these are "dependent" (perhaps not in the technical sense of the term), as in [first parameter] "1. Add a new layer or use existing" (binary 1 for new layer or 0 for old layer possible response) [next parameter] "2. {if 1 in first parameter} Specify workspace for new layer
It is in this way that I am describing the parameters as dependent.
My question is whether it is possible to have parameter 2 appear only if parameter 1 has a response that warrants it? I.e. if the user uses the layer in the existing .mxd then there is no need to specify the workspace.
I've looked through the various parameter options, but there doesn't seem to be a way to do this. Any advice would be greatly appreciated