set status [ SclFunction "EXIT GRAPHICS" {
  frm00108={
    {
      exit_mode="E"
    }
  }
}]

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

set status [ SclFunction "GRAPHICS CONTOUR EXTRACT" {
  frm01316={
    {
      _action="display"
      dtm_layer="pit1.dtm"
      dtmfld="Z"
      interval_or_range="INTERVAL"
      ci="20"
      conmin="45"
      trisolation_id="1"
      conmax="255"
      new_layer="slice"
      object_id="1"
    }
  }
}]

set status [ SclFunction "SELECT LAYER" {
  activelayer="slice"
}]

set status [ SclFunction "FILE SAVE" {
  frmsaveFileAs={
    {
      AutoCAD={
        version="Autocad 18"
      }
      output_file="surpac2str:pitcon5"
      outputExt=".str"
      saveStyle="N"
      Datamine={
        binary_precision="Single"
      }
      Surpac={
        FileFormat="text"
        ForceValidation="true"
        Purpose=""
        ForceCompatibility="true"
        range=""
      }
      output_type="Surpac String Files"
    }
  }
}]
puts ""
puts ""
puts "Macro _07c_section_pit_by_elevation.tcl completed."
puts "" 

