Can you convert Python to a Model?

5331
5
Jump to solution
05-29-2015 11:17 AM
ChrisSergent
Regular Contributor III

A question was asked in an online class I was taking. I know you can convert a model to Python, but can you convert Python to a model?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
WesMiller
Regular Contributor III

Yes you can make a python script into a model as Jeff Ward mentions. The steps can be found here ArcGIS Help 10.1

View solution in original post

5 Replies
JeffWard
Occasional Contributor III

You can make your script a script tool in Model Builder.

Jeff Ward
Summit County, Utah
ChrisSergent
Regular Contributor III

Any idea why that option may be dimmed out. Is it in settings?

0 Kudos
SepheFox
Frequent Contributor

Which option is greyed out, Jeff? Do you mean the option to add a script to a toolbox? You won't have that option in the toolboxes supplies by ESRI, but you will if you create a new toolbox of your own.

0 Kudos
ChrisSergent
Regular Contributor III

I figured it out. I had to create my own toolbox.

0 Kudos
WesMiller
Regular Contributor III

Yes you can make a python script into a model as Jeff Ward mentions. The steps can be found here ArcGIS Help 10.1