New answers tagged

3 votes

Set user input as path for saving Python toolbox results

@Vince’s comment helped me find 2 problems which were the extension, and os.path.dirname(__file__), which is the path of the toolbox instead of the workspace as I first thought I made the correction ...
user avatar
0 votes

Refreshing imported modules in ArcGIS Python Toolbox?

Here's an example of refreshing a tool imported from a different folder in ArcGIS Pro using Python 3.7 # Import the module to support refreshing import tools.MyNewTool as MyNewToolModule # Import the ...
user avatar
  • 101

Top 50 recent answers are included