I have a tool that has a workspace parameter and accepts multiple values. In the tool validation script, I would like to list all feature classes found within all chosen workspaces in the second parameter.
How do I iterate over the workspaces in the first parameter?
def updateParameters(self):
# Modify parameter values and properties.
# This gets called each time a parameter is modified, before
# standard validation.
if self.params[0].altered:
# something like below ?
for ws in self.params[0].split(";"):