I have a toolbox to share with my collegaues, it includes a model and imported python script. This script is also imported to the model in the end of session. When I share this toolbox to another PC, there is a problem in it: the model seems to be broken like here:

enter image description here

The solution is to edit model and manually set the path to a script, which is in the same toolbox or drag and drop it to a model. Is there any kind of tool or calculator that will run my script without any relationships to location of script?


1 Answer 1


Check 2 things:

  • Is the script imported in the script tool? Right-click it in the Catalog > Import Script.
  • Also, in the Model properties, make sure the 'Store relative pathnames (instead of absolute paths)' box is checked: right-click the model in the Catalog > Properties > General tab.
  • 1
    Script is imported already. As for relative paths, thank for advice! Dec 8, 2016 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.