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

set status [ SclFunction "TOOL MODE TRADITIONAL" {} ]

if { [catch {
set status [ SclFunction "BLOCK MODEL OPEN" {
  frm00906={
    {
      modname="training2.mdl"
      use_const="N"
    }
  }
}]
}]}  {
puts "There is no training2.mdl. This could occur if you haven't yet run macros _01 to _05c. Opening training.mdl instead."
set status [ SclFunction "BLOCK MODEL OPEN" {
  frm00906={
    {
      modname="training.mdl"
      use_const="N"
    }
  }
}]
}

set status [ SclFunction "BM VOL TON REPORT" {
  frm20104={
    {
      _action=display
      fname=""
      report_name="total_orebody1"
      report_format=".csv - Comma Separated (Spreadsheet)"
      ik_cutoffs="No"
      ikMeanGrade="cutoffMean"
      constrain="Yes"
    }
  }
  frm00121=table { _action } {
    { "display" }
    { "display" }
  }
  frm20195={
    {
      _action=display
      rpt_desc_1="Report for total orebody with grades above 0.0 and constained by a mine design pit1."
      report_attributes={
        {
          rpt_attribute="gold"
          rpt_display="Yes"
          low_cut=null
          upper_cut=null
          rpt_attribute_wt="Mass"
          rpt_attribute_avg="Average"
          rpt_expression=null
        }
      }
      use_vol="No"
      Format_head="Yes"
      fillAllCells="No"
      pivotCompatible="Yes"
      cullEmpty="No"
      volDecimals="0 decimal places"
      geometryType="None"
      vol_mult_factor="Attribute"
      mult_factor_att_name="sg"
      group_attributes=table { group_field numeric_range } {
        { "z" "800,1100,50" }
        { "gold" "0;1;3;5;10;999" }
      }
    }
  }
  frm20111={
    {
      _action=display
      constraints=table { not op contype location id rnga rngb lbound ubound ext } {
        { "" "ABOVE" "DTM" "pit1.dtm" "" "1" "1" "" "" "" }
        { "NOT" "ABOVE" "DTM" "topo1.dtm" "" "4" "1" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
      }
      conexp=""
      confile="pit1"
      keep_blocks="Y"
    }
  }
}]



if { [catch {
set status [ SclFunction "RECALL ANY FILE" {
  file="total_orebody1.csv"
  mode="none"
}]
}]}  {

}




puts ""
puts ""
puts "macro _06_block_model_reporting.tcl completed"
puts ""

