Modelbuilder & Python Combination Portability

2033
3
Jump to solution
10-23-2014 04:59 PM
BruceNielsen
Occasional Contributor III

I have a Modelbuilder tool that calls a Python script. I have selected the option in Modelbuilder Properties to use relative paths. If I move the folder that both the toolbox and script are in to another location (or give it to another user), the tool can no longer find the script; it expects it to be in the original folder. Any ideas on how to make this project truly portable?

Tags (2)
1 Solution

Accepted Solutions
RussellBrennan
Esri Contributor

The only thing I can think of is that you did not choose the relative paths option when creating the script tool that is in your model.

View solution in original post

3 Replies
RussellBrennan
Esri Contributor

The only thing I can think of is that you did not choose the relative paths option when creating the script tool that is in your model.

BruceNielsen
Occasional Contributor III

That was it. Thanks.

0 Kudos
DanPatterson_Retired
MVP Emeritus

Did you see the associated help file topics on sharing custom tools ....

and I presume you have seen this on integrating scripts in models

0 Kudos