2

Within ModelBuilder in ArcGIS, I am trying to add a script that will randomly assign "model types" (which is text) into the new field I have created in the attribute table. I checked to make sure the whole model ran without any problems before adding the script. The script has ran without any errors as well, but from the python window within ArcGIS.

Does anyone know the proper way to add this script to the model?

enter image description here

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Aug 8, 2018 at 16:37
1
  • You should be able to integrate the Model Type python script into the model the same as any of the other geoprocessing tools... Commented Aug 8, 2018 at 16:43

1 Answer 1

4

Here is a link to the Esri guide on adding a python script to a model. Essentially you can just navigate to the python script tool in Catalog, then drag and drop it into the model. You will need to make some configuration selections first, though (it appears you're missing that step), so read that guide.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
answered Aug 8, 2018 at 17:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.