What changes are needed to migrate scripts from the ArcGis 9.x environment/gp-object to the ArcGis 10/arcpy environment?
Can anyone provide a good overview what the changes are?
Can someone share pitfalls etc from their own experience?
Answer
GeoChalkboard can give you a good overview of the changes!
Here's the list, but check it out for more detail:
- Replace the import statement
- Replace all gp. with arcpy.
- Check your capitalization.
- The result tool is different.
- Replace any del gp statements.
- The overwrite tool is different.
- Import the env module from arcpy.
- List item
No comments:
Post a Comment