I am trying to get multiple parameters (status, target_gdb,...) for each feature class within the Map. The number of feature classes is variable, so I can't set a specific number of parameters. I thought to call another python script (secondary_script) to:
I've never done this before and it's not working, probably for various reasons, but the most basic is that the secondary_script is not prompting for the necessary parameters (x,y). Is there a way to do this, and if so, how? I also tried assigning the GetParameterAsText to (3) and (4), but that didn't work either. I'm at a loss.
# call the secondary_script
import arcpy, os
from original_script import a,b,c
x = arcpy.GetParameterAsText(0)
y = arcpy.GetParameterAsText(1)
It's very unclear to me what you're trying to do.
Dou you want to