I am new to python so please bear with me. I have the following script that is supposed to get a multivalue parameter of several shapefiles as an input and then run the unionanalysis on all these shapefules to create a single feature class or shapefile output. The script seems to run fine however only processes up to step 2 of 16 and does not create any output file. I do have the output file specified however and all the parameters are in the right order with the input accepting multivalue variables and both having feature class as their data type. I need to precise that this is within the ModelBuilder framework...
Here is the script:
import arcpy myList = arcpy.GetParameterAsText(0) unionResult = arcpy.GetParameterAsText(1) arcpy.Union_analysis(myList, unionResult, "ALL", "", True)
To further clarify:
Parameter (0) is an input, feature class, multivalue (yes) Parameter (1) is an output, feature class, multivalue (No)