######################################################################
#
# Macro Name    : c:/users/public/gemcom/surpac/63/demo_data/tutorials/road_design/3b_road_cut_volume.tcl
#
# Version       : Surpac 6.3
#
# Creation Date : Thu May 10 09:36:03 2012
#
# Description   : 
#
######################################################################

set status [ SclFunction "EXIT GRAPHICS" {} ]

set status [ SclFunction "RECALL ANY FILE" {
  file="road_cut.dtm"
  mode="openInNewLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="topo.dtm"
  mode="openInNewLayer"
}]

set status [ SclFunction "INTERSECT DTMS" {
  frm00092={
    {
      _action=display
      object1_id="1"
      outloc="road_cut_boundary"
      int_str="1"
      trisolation2_id="1"
      dtmloc2="topo"
      dtmloc1="road_cut"
      trisolation1_id="1"
      object2_id="1"
    }
  }
  frm00121={
    {
      _action=""
    }
  }
}]

set status [ SclFunction "DTM VOLUMES" {
  frm00095={
    {
      _action=display
      nstr="1"
      trisolation1_id="1"
      loc3="road_cut"
      loc2="road_cut_boundary"
      nqual="0"
      loc1="topo"
      report_by_elevation="N"
      trisolation2_id="1"
      upper_surface_object_name=""
      upper_surface_trisolation_name=""
      nsurf="2"
      density="2.000"
      combdy="Y"
      object1_id="1"
      lower_surface_object_name=""
      object2_id="1"
      detailed_report="N"
      lower_surface_trisolation_name=""
      elevation_range=""
      decimals="0"
    }
  }
  frm00573={
    {
      _action=display
      save_bdy="N"
      new_bdy_loc="bdyres"
      report_format=".not"
      notloc="road_cut"
    }
  }
  frm00121={
    {
      _action=""
    }
  }
  frm00097=table { savedtm dtmloc } {
    { "N" "" }
    { "N" "" }
  }
}]

puts ""
puts ""
puts ""
puts ""
puts "Macro 3b_road_cut_volume.tcl completed."
puts ""
puts ""