|
Converting ArcGIS Python Scripts to 9.2 |
|
|
|
|
To get any 9.0 or 9.1 python geoprocessing script to work in 9.2 it appears that you must change two standard lines within your python code. #1 on the line starting with "import" change the windows library reference
from win32com.client to arcgisscripting #2 change this entire line
from gp= win32com.client.Dispatch("esriGeoprocessing.GPDispatch.1") to gp= arcgisscripting.create()
|
|
|
|
|
05, Dec. 2006 |
|
|
|
Last Updated ( 28, Sep. 2007 )
|