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

set status [ SclFunction "COMPOSITE DOWNHOLE" {
  frm12004={
    {
      _action="display"
      loc="comp"
      rid="1"
      istr="1"
      comp_len="1"
      composite_length_method="fixed length"
      comp_min="75"
      selection="NO SELECTION"
      dilution="N"
      table="sample"
      composite_fields={
        {
          composite_field="gold"
        }
      }
      weighting_fields={
        {
          weighting_field=""
          weighting_default="1"
          weighting_limit=""
        }
      }
    }
  }
  frm00121={
    {
      _action="apply"
    }
  }
  frm00012={
    {
      cons={
        {
          field=""
          operator="="
          value=""
        }
      }
    }
  }
}]

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

set status [ SclFunction "ERASE STRINGS FROM LAYERS" {
  frm00851={
    {
      _action="display"
      string_range=""
      segment_range=""
      layer_name="comp1.str"
    }
  }
}]

set status [ SclFunction "DRAW MARKERS" {
  frm00089={
    {
      _action="display"
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      layer_name="comp1.str"
    }
  }
}]

set status [ SclFunction "3D GRID" {
  frm00140={
    {
      sectionGridPos="Behind"
      zgrid_inc="50.000"
      yExtentMinCustom=""
      longSectionGridPos="None"
      xExtentMinCustom=""
      xlabel_inc="1"
      xExtentsBox="View"
      grid_line_colour=""
      ylabel_inc="1"
      gridFile=""
      grid_text_colour=""
      ygrid_inc_data="1.000"
      ygrid_inc_custom="1.000"
      yExtentMaxCustom=""
      xgrid_inc_custom="1.000"
      xExtentMaxCustom=""
      ygrid_inc_view="50.000"
      zlabel_inc="1"
      yExtentsBox="View"
      replaceCurrentGrid="Y"
      grid="above"
      xgrid_inc_data="1.000"
      grid_plane_value=""
      planGridPos="Below"
      xgrid_inc_view="50.000"
    }
  }
}]

set status [ SclFunction "SECTION" {} ]

puts  ""
puts  ""
puts  "Macro 06b_composite_downhole.tcl completed."
puts  ""

