######################################################################
#
# Macro Name    : c:/users/sgreene/desktop/tutorialdatasets/block_modelling/_8a_partial_percentages_report.tcl
#
# Version       : Surpac 6.2
#
# Creation Date : Thu Mar 31 11:33:19 2011
#
# Description   : 
#
######################################################################

set status [ SclFunction "BM VOL TON REPORT" {
  frm20104={
    {
      _action=display
      fname="geo_group_report.bmr"
      report_name="geo_group_report"
      report_format=".not - Surpac Note File"
      report_type="Standard"
      ik_cutoffs="No"
      ikMeanGrade="cutoffMean"
      modify="No"
      constrain="No"
    }
  }
  frm20195={
    {
      _action=display
      rpt_desc_1="Report with Geometric Grouping"
      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="No"
      cullEmpty="No"
      volDecimals="0 decimal places"
      geometryType="Solids"
      DTMFile="orebody1.dtm"
      DTMRange=""
      use_partial="Yes"
      precision="3"
      partialPercentAttr="pp_bmr"
      vol_mult_factor="Attribute"
      mult_factor_att_name="sg"
      group_attributes={
        {
          group_field="gold"
          numeric_range="-99;0;1;5;99"
        }
      }
    }
  }
}]

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

puts ""
puts ""
puts "macro _08a_partial_percentages_report.tcl completed"
puts ""