######################################################################
#
# Macro Name    : _02_create_ore_outlines.tcl
#
# Version       : Surpac 6.3
#
# Creation Date : Thu Apr 05 12:52:36 2012
#
# Description   : 
#
######################################################################

set status [ SclFunction "BM EXIT" {} ]

set status [ SclFunction "EXIT GRAPHICS" {} ]

set status [ SclFunction "DELETE PLANE" {
  type="Plan view"
  group="BM_sections"
  frmdeletePlaneConfirm={
    {
      _action=""
    }
  }
}]

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

set status [ SclFunction "BM GRAPHICS DRAW" {
  frm20503={
    {
      display="normal"
      constraint="N"
      slice="N"
      rescale="Y"
      all_blocks="N"
      cloud_marker="."
      cloud_size="1"
    }
  }
}]

set status [ SclFunction "BM GRAPHICS CONSTRAIN ADD" {
  frm20111={
    {
      constraints=table { not op contype location id rnga rngb lbound ubound ext } {
        { "" ">" "BLOCK" "gold" "0" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
      }
      conexp=""
      confile=""
      keep_blocks="N"
    }
  }
}]

set status [ SclFunction "BM GRAPHICS ATTRIBUTE COLOUR" {
  frm20504={
    {
      first_colour="blue"
      attribute="gold"
      smooth_transition="Y"
      transparency_percentage="0"
      block_model_transparency="N"
      default_face="pink"
      range="0,8,1;999"
      numdecimals="2"
      styles_file=""
      save_now="N"
      load_styles_file="ssi_styles:bm_colours.ssi"
      last_colour="red"
      default_edge="blue"
      attribute_list=table { color char_attrib } {
        { "blue" "0.00 -> 1.00" }
        { "r=0.00 g=0.50 b=1.00" "1.00 -> 2.00" }
        { "r=0.00 g=1.00 b=1.00" "2.00 -> 3.00" }
        { "r=0.00 g=1.00 b=0.50" "3.00 -> 4.00" }
        { "r=0.00 g=1.00 b=0.00" "4.00 -> 5.00" }
        { "r=0.50 g=1.00 b=0.00" "5.00 -> 6.00" }
        { "r=1.00 g=1.00 b=0.00" "6.00 -> 7.00" }
        { "r=1.00 g=0.50 b=0.00" "7.00 -> 8.00" }
        { "red" "8.00 -> 999.00" }
      }
    }
  }
}]

set status [ SclFunction "QUICK PLANES" {
  frmQuickPlanes={
    {
      _action=display
      values="885,995,10"
      oblique_definition_method="Digitised endpoints"
      end="995"
      start="885"
      plane_type="Elevation"
      looking_north="Looking north"
      group="BM_sections"
      extension="El"
      looking_west="Looking west"
      towards="6.000"
      definition_method="Specific values"
      away="6.000"
      looking_down="Looking down"
      save="true"
      interval="10"
      two_d="false"
    }
  }
}]

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1

set status [ SclFunction "NEXT PLANE" {} ]

SclPause 1


set status [ SclFunction "BM EXTRACT SECTIONS" {
  frm20042={
    {
      _action=display
      scr_type="NORMAL to Z Axis"
      scr_range="885,995,10"
      scr_name="defgrp"
    }
  }
  frm20048={
    {
      _action=display
      location="ore"
      extract_type="Block Outlines"
      tolerance="0.1"
      scr_coords="Real World"
      constrain="Y"
      report_attributes="N"
      attributes={
        {
          attribute="gold"
        }
      }
      class_att_name="gold"
      class_att_rng="0,8;999"
      class_char_list={
        {
          char_val=""
          string_no="1"
        }
      }
      section_face_block="Previous"
    }
  }
  frm20111={
    {
      _action=display
      constraints=table { not op contype location id rnga rngb lbound ubound ext } {
        { "" "INSIDE" "CONSTRAINT" "ORE" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
        { "" "" "" "" "" "" "" "" "" "" }
      }
      conexp=""
      confile=""
      keep_blocks="N"
    }
  }
}]

set status [ SclFunction "EXIT GRAPHICS" {} ]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore885.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore895.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore905.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore915.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore925.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore935.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore945.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore955.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore965.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore975.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore985.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="ore995.str"
  mode="appendToCurrentLayer"
}]

set status [ SclFunction "FILE SAVE" {
  frmsaveFileAs={
    {
      _action=display
      AutoCAD={
        version="Autocad 24 (2010)"
      }
      output_file="ore_blocks"
      outputExt=".str"
      saveStyle="N"
      Datamine={
        binary_precision="Single"
      }
      saveStyleFileName="SSI_STYLES:styles.ssi"
      Surpac={
        FileFormat="text"
        ForceValidation="true"
        Purpose=""
        ForceCompatibility="true"
        range=""
      }
      output_type="Surpac String Files"
    }
  }
}]

puts ""
puts ""
puts " Macro _02_create_ore_outlines.tcl completed"
puts ""
