Is it possible to use ET GeoWizard or XTools Pro tools in automation of mapping in either in ModelBuilder or Python?
Answer
Yes, I believe it is possible to use both in Python scripts. XTools has some samples in your install directory (mine is an older version and is installed at C:\Program Files (x86)\DataEast\XToolsPro 7.1\Scripts). You need to import the Toolbox. Here is an example (assuming you are on ArcGIS 10 and using arcpy, otherwise use the geoprocessor):
arcpy.ImportToolbox('path_to\XTools Pro.tbx')
arcpy.XToolsPro_(args)
It's been a while since I used ET Geowizards tools in a script, but here is how I'm betting that works (along the same lines as with XTools):
arcpy.ImportToolbox('path_to\ET GeoWizards.tbx')
arcpy.ET_GP(args)
No comments:
Post a Comment