Note:
The dialog for each function has a Help Tab that contains the full help topic for the current function.
The easiest way to get the syntax for an ArcPy script is to create a model in ArcGIS Desktop using the ET GeoWizards tools. Then export the model as a Python script. Unfortunately in ArcGIS Pro you cannot export your model as Python script. Below is a sample model using the ET GeoWizards tools and the corresponding python script.
# Import arcpy module import arcpy # Load ET GeoWizards Toolbox arcpy.ImportToolbox("C:/00/testToolBox/ETGeoWizards12_Desktop_103_104.pyt") # Local variables: input = "C:\\00\\gp_pg.shp" result1 = "C:\\00\\BoundingRect.shp" result2 = "C:\\00\\Boundaries.shp" # Process: Features To Bounding Rectangles arcpy.FeaturesToRectangles_ETGeoWizards(input, result1, "LongestSegment") # Process: Polygons To Polylines arcpy.PolygonsToPolylines_ETGeoWizards(result1, result2, "false", "false") |
The installation of ET GeoWizards places the toolboxes for ArcGIS Desktop and ArcGIS Pro in the installation folder of ET GeoWizards. Since ArcGIS Desktop and ArcGIS Pro tend to create a separate XML file for each tool in the toolbox, it is recommended to copy the required toolbox in an user folder with write access.
Since the usage of the ET GeoWizards tools is exactly the same as the standard tools provided with ArcGIS, we highly recommend you to have a look at "Geoprocessing in ArcGIS" in the desktop help.
For the parameters required by each tool and syntax, please have a look at the topic for the specific tool.