I've broken a complex task down to a very simple exercise and still can't get it to work... I need to set up a Python Script to Run a Model.
- model: "SelectTest"
- toolbox: "INTEGRITY_TOOLS.tbx".
- location: c:\Work\INTEGRITY\INTEGRITY_TOOLS.tbx
import arcpy
arcpy.ImportToolbox (r"c:\Work\INTEGRITY\INTEGRITY_TOOLS.tbx", "SelectTest")
arcpy.SelectTest()
Hornbydd
44.9k5 gold badges43 silver badges84 bronze badges
1 Answer 1
As commented by @Matthew, they:
had to add a Label in the Alias box within the Toobox and get the order right on the 3rd line:
arcpy.SelectTest_IntegrityTools()
answered Oct 21, 2017 at 5:51
lang-py
arcpy.SelectTest()
tryarcpy.SelectTest_SelectTest()
if your tool's name is alsoSelectTest
.