Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

This is surprisingly difficult to search for, so I'll ask though it may be a silly question. Is it possible to chain several model-builder models in sequence, such that one will automatically run with the precondition that a prior model has executed? There are plenty, so it seems more sensible than a merge, but I would be interested in that as well.

share|improve this question
    
which software are you using? –  Curlew Dec 6 '13 at 14:48
    
I believe what I want is a 'sub-model' which seems to exist for arcgis 10.0, but not 9.3.1. I wonder if there's a workaround. Probably a python script. –  Sleep6 Dec 6 '13 at 15:09
    
just asking, because other GIS software have modelbuilders as well (QGIS) –  Curlew Dec 6 '13 at 16:43
    
Check out the ESRI help section on integrating a model within a model: resources.arcgis.com/en/help/main/10.2/index.html#//… –  Aaron Dec 6 '13 at 16:54
    
^ indeed, but again, that's for 10.0 and above. –  Sleep6 Dec 6 '13 at 17:01

2 Answers 2

You can just drag&drop your already built model into the new model

share|improve this answer
    
It's 9.3.1. I realize you can copy paste into an existing model, though it doesn't seem to link at first glance. Maybe it just needs preconditions. But in any case, I'm more interested in models running consecutively than merging them in one, ugly pile. We're talking 12+ models. –  Sleep6 Dec 6 '13 at 14:50

I'm going to try… gp.AddToolbox("c:/mytoolboxes/tools.tbx") gp.ModelName() or gp.ModelName_ToollName() (or vice versa, not sure), and make sure that the toolbox has an alias. With the script-tool in the toolbox, drag and drop to the model and link (or use precondition? it doesn't use any input variables). That should run another model.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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