Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is it possible to use ET GeoWizard or XTools Pro tools in automation of mapping in either in ModelBuilder or Python?

share|improve this question

1 Answer

up vote 9 down vote accepted

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_<tool_name>(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<tool_name>(args)
share|improve this answer
Thanks mates.Nice and tidy. – Matt Feb 3 '12 at 5:56
2  
I do not know about XTools, but for ET ..., assuming that you have registered (pro) version- otherwise you can not use it in model builder or Python. You can add toolbox from ET installation folder to your toolbox bar, open Model Builder and drag it, if you want it in Python, then you export your model from Model Builder to Python script. In this way your syntax is always correct. You can also check help in ET, similarly to ESRI products there are examples of code for scripting. – Tomek Feb 3 '12 at 7:09
1  
ET Geowizards works the same as Chad shows for XTools - as long as licenced. – Mapperz Feb 3 '12 at 14:35
@MattPira - If this solved your problem, please mark this as answered to close out the question. Thanks. – Chad Cooper Feb 5 '12 at 20:05
Sorry, how can I do mark it as answered? – Matt Feb 6 '12 at 6:19
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.