Hi I am new to ArcGIS and facing a problem in calling a script tool from a model.
I have the following file structure:
Also the ScriptTool is added to the Model. The Model works fine if MyFolder is in E:\ but if I move MyFolder to D:\ , the Model cannot run as it is not able to find the ScriptTool.
Please help me by suggesting how I can add the ScriptTool to the Model such that the model uses relative paths to the script tool.
Thanks.
أكثر...
I have the following file structure:
- E:\MyFolder
- MyToolbox.tbx
- ScriptTool
- Model
- Scripts
- myscript.py
- MyToolbox.tbx
Also the ScriptTool is added to the Model. The Model works fine if MyFolder is in E:\ but if I move MyFolder to D:\ , the Model cannot run as it is not able to find the ScriptTool.
Please help me by suggesting how I can add the ScriptTool to the Model such that the model uses relative paths to the script tool.
Thanks.
أكثر...