Hi. I am confused by the implementation of python in tuscany,because i write a python whick is : import sys, os, arcgisscripting
gp = arcgisscripting.create() gp.CheckOutExtension("3D") gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/3D Analyst Tools.tbx") testtokml_kmz = "C:\\tokml\\testtokml.kmz" guidao_mxd = "C:\\tokml\\guidao.mxd" # Process: Map To KML... def tokml(): gp.MapToKML_3d(guidao_mxd, "Layers", testtokml_kmz, "10000", "NO_COMPOSITE", "VECTOR_TO_IMAGE", "DEFAULT", "1024", "96") return 'successful' result=tokml() It always runable in my python environment but never run in tuscany.italways throw a error msg : no module named arcgisscripting Could anybody tell me why? Does'nt tuscany use the native python environment? BTW: arcgisscripting is a dll file comes with ESRI GIS which used to support model with python . Thanks a lot!