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

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

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

set status [ SclFunction "TRISOLATION DTM/DTM INTERSECT" {
  frm00643={
    {
      _action="display"
      layer_name="layer_intersect"
      object_no="1"
    }
  }
  select_triangle=table { winx winy objectx objecty objectz } {
    { "-0.803" "0.334" "1398.117" "7468.253" "192.327" }
    { "-0.609" "-0.038" "1473.547" "7345.789" "207.355" }
  }
}]

set status [ SclFunction "FILE SAVE" {
  frmsaveFileAs={
    {
      AutoCAD={
        version="Autocad 18"
      }
      _action="display"
      output_file="surpac2dtm:pit_solid"
      outputExt=".dtm"
      saveStyle="N"
      Datamine={
        binary_precision="Single"
      }
      Surpac={
        FileFormat="text"
        ForceValidation="true"
        Purpose=""
        ForceCompatibility="true"
        range=""
      }
      output_type="Surpac DTM Files"
    }
  }
  frmSaveMultipleFiles={
    {
      _action="apply"
    }
  }
}]

set status [ SclFunction "OBJECT REPORT" {
  frm00466={
    {
      _action="display"
      reploc="pit_volume"
      repid="1"
      report_format=".not"
      report_type="T"
      decimals="0"
    }
  }
  frm00121={
    {
      _action="apply"
    }
  }
}]
puts ""
puts ""
puts "Macro _11c_create_solid_intersecting_2_dtms.tcl completed."
puts ""
