######################################################################
#
# Macro Name    : c:/gemcom/surpac/surpacv6.3/tutorials/block_modelling/_08c_multiple_attribute.tcl
#
# Version       : Surpac 6.3
#
# Creation Date : Thu Apr 05 10:20:58 2012
#
# Description   : 
#
######################################################################

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

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

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

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

set status [ SclFunction "BM VOL TON REPORT" {
  frm20104={
    {
      _action="display"
      fname="mrt"
      report_name="multi_rock_type"
      report_format=".csv - Comma Separated (Spreadsheet)"
      report_type="Multiple"
      ikMeanGrade="cutoffMean"
      modify="No"
      constrain="Yes"
    }
  }
  frm20196={
    {
      _action="display"
      pivotCompatible="Yes"
      volDecimals="0 decimal places"
      rpt_desc_1="Report showing the ore in each rock type"
      categories="F"
      fillAllCells="Yes"
      pivotCompatible="No"
      Format_head="Yes"
      cullEmpty="No"
      group_heading="Rock"
      cols_for_category={
        {
          report_column="Gold"
          report_by="Average"
          column_0="gold"
          column_1="gold"
          column_2="gold"
        }
      }
      group_attributes={
        {
          group_field="z"
          numeric_range="830,1000,10"
        }
      }
      attr_for_report=table { func_per_attr report_group_label spec_gravity } {
        { "banded_frac" "Banded fraction" "sg" }
        { "quartz_frac" "Quartz Pyrite fraction" "sg" }
        { "sand_frac" "Sandstone fraction" "sg" }
      }
    }
  }
  frm20111={
    {
      _action="display"
      constraints=table { not op contype location id rnga rngb lbound ubound ext } {
        { "" "ABOVE" "Z PLANE" "830" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
      }
      conexp=""
      confile=""
      keep_blocks="N"
    }
  }
}]

puts ""
puts ""
puts "macro _08c_multiple_attribute.tcl completed"
puts ""

