(I have tried XTools, XToolsPro, XTools-Pro, XTools Pro, xtp, XToolsGP) if arcpy. How can I enable the XTools Pro extension from within arcpy? I've attempted to use the following, but am unsure what arcpy would call the XTools Pro extension, so may be using the incorrect Extension name. Tool outputs with the Add To Display option checked are added to the display using the variable name. To remove the input or output from the ArcMap table of contents, right-click the data variable in the model and uncheck the Add To Display option. I have attempted to enabled this extension from arcpy with no success, and have found the XTools Pro help pages don't mention arcpy at all (so now I wonder if it's even supported). Right-click any data variable and click Add To Display, as shown below. The latest XTools Pro version introduces new advanced tools and features aimed at increasing ArcGIS productivity. Parameters are not valid.įailed to execute (XToolsGP_DispersePoints). XTools Pro is one of the most popular and full-featured third party extensions for ArcGIS Desktop end users providing a comprehensive set of tools for vector spatial analysis, shape conversion and table management. Tool I'm running: arcpy.ImportToolbox("C:/Program Files (x86)/DataEast/XTools Pro/Toolbox/XTools Pro.tbx")Īrcpy.XToolsGP_DispersePoints_xtp(InputLayer, OutputLayer, "0.25 Meters", "1 Meters", "BY_CLUSTERS", "RING", "", "")Įrror message: arcgisscripting.ExecuteError was unhandled by user code I have an arcpy script that uses a XTools Pro geoprocessing tool, which works if I run it from ArcMap (with the XTools Pro extension enabled), but if I run it outside of ArcMap I get an error. Many ArcMap users are making the switch to ArcGIS Pro for the advantages it offers for modern GIS desktop workflows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |