Take the 2-minute tour ×
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
    
Nice to know, that's what I was trying to figure out before purchese a ET Geowizard's license. Thanks –  user20482 Jul 26 '13 at 16:35
    
Please don't add "thank you" as an answer. Once you have sufficient reputation, you will be able to vote up questions and answers that you found helpful. –  Jason Scheirer Jul 26 '13 at 17:12

1 Answer 1

up vote 11 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
    
@MattPira - On this answer, below the vote count and up/downvote buttons, check the grey arrow to make it green, and that marks a question as answered. –  Chad Cooper Feb 6 '12 at 14:30

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.