Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Toolbox filepath from ToolValidator?

$
0
0
Hello,

Anyone know if it's possible to grab the filepath of a toolbox file (.tbx) from the ToolValidator class? I was thinking of using a shapefile as an optional input and distributing the data along with my toolbox, but I'm not sure how to get the parameter to default to the correct location. Any ideas?

Viewing all articles
Browse latest Browse all 2485