helentest

please help me automating models in  ModelBuilder erform this workflow at a scheduled

Discussion created by helentest on Jul 11, 2012
import sys, string, os, arcgisscripting,traceback
# We use  ArcGIS 9.3.1 ,   I used the following
# Create the Geoprocessor object
gp = arcgisscripting.create(9.3)
gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/Data Management Tools.tbx")
try:
  ##  gp.<naam model1>_<alias van de toolbox1
gp.AddToolbox(r"C:/Temp/script.gdb/Zuid.tbx")
gp.brand_toolboxtest
gp.laag_ toolboxtest
print???succecceful???
except:    
     gp.GetMessages(2)
     gp.AddMessage(gp.GetMessages(2))
     print" failed"
thank you

Outcomes