Can anyone confirm whether the variable type returned for multivalue parameters by arcpy.getparameter() changed in 10.1?
I run the same tool with the same parameters in ArcGIS 10.0 and 10.1 and the 10.0 version returns a Arcpy ValueTable object, but 10.1 is returning a list object (which breaks the tool).
According to the 10.1 documentation here: http://resources.arcgis.com/en/help/...00000013000000
AND the 10.0 documentation here: http://help.arcgis.com/en/arcgisdesk...00000013000000
both should be able to return either a string, a Python list, or a ValueTable, but why would the exact same script return a different type of object if run in 10.1?
The line doing it is simply elemSet = arcpy.GetParameter(9)
On the next line if I do type(elemSet) I get different object types as noted above. Anybody know any way to force 10.1 to return a ValueTable?
Thanks!!!!
I run the same tool with the same parameters in ArcGIS 10.0 and 10.1 and the 10.0 version returns a Arcpy ValueTable object, but 10.1 is returning a list object (which breaks the tool).
According to the 10.1 documentation here: http://resources.arcgis.com/en/help/...00000013000000
AND the 10.0 documentation here: http://help.arcgis.com/en/arcgisdesk...00000013000000
both should be able to return either a string, a Python list, or a ValueTable, but why would the exact same script return a different type of object if run in 10.1?
The line doing it is simply elemSet = arcpy.GetParameter(9)
On the next line if I do type(elemSet) I get different object types as noted above. Anybody know any way to force 10.1 to return a ValueTable?
Thanks!!!!