Skip to content

Commit

Permalink
Add output to map for the full model run.
Browse files Browse the repository at this point in the history
  • Loading branch information
scw committed Feb 28, 2014
1 parent cd5fc2b commit d355e06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Install/toolbox/scripts/btm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ def main(out_workspace, input_bathymetry, broad_bpi_inner_radius,
slope.main(input_bathymetry, slope_rast)

# Process: Zone Classification Builder
outputs_base = arcpy.env.addOutputsToMap
arcpy.env.addOutputsToMap = True
utils.msg("Classifying Zones...")
classify.main(classification_dict, broad_std, fine_std, slope_rast, \
input_bathymetry, output_zones)
arcpy.env.addOutputsToMap = outputs_base

except Exception as e:
# Print error message if an error occurs
Expand Down

0 comments on commit d355e06

Please sign in to comment.