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

set status [ SclFunction "RECALL ANY FILE" {
  file="eom_pit.dtm"
  mode="openInNewLayer"
}]
set status [ SclFunction "DRAW DTM/3DM" {
  frm00530={
    {
      _action="display"
      range1=""
      range2=""
      range3=""
      grade_field="Z"
      false_colour_type="3"
      grade_range="500,600,5"
      legend_location="no legend"
      colours=table { colour expression label } {
        { "brown" null null }
        { "grey" null null }
        { "olive green" null null }
        { "yellow" null null }
        { "" null null }
        { "" null null }
        { "" null null }
        { "" null null }
        { "" null null }
        { "" null null }
        { "" null null }
      }
      layer_name="eom_pit.dtm"
    }
  }
}]


set status [ SclFunction "RESET VIEW" {} ]
set status [ SclFunction "VIEW SCALE" {
  frm00290={
    {
      _action="display"
      xscale="1"
      yscale="1"
      zscale="3"
    }
  }
}]

set status [ SclFunction "TOGGLE COLOUR INTERPOLATION" {} ]

set status [ SclFunction "DESIGN STRING" {
  frm00071={
    {
      idesign_string="500"
    }
  }
}]

set status [ SclFunction "SELECT LAYER" {
  activelayer="<new layer>"
  frm00488={
    {
      swa_name="fly"
    }
  }
}]

set status [ SclFunction "SNAP TRIANGLE" {} ]

set status [ SclFunction "DIGITISER DIGITISE" {
  digitise_point=table { winx winy objectx objecty objectz mousebutton } {
    { "0.905" "0.095" "14934.831" "86076.525" "571.686" "1.000" }
    { "0.302" "0.098" "13788.447" "86080.727" "535.001" "1.000" }
    { "-0.011" "-0.199" "13192.160" "85656.326" "533.872" "1.000" }
    { "-0.479" "0.127" "12301.927" "86122.746" "559.269" "1.000" }
    { "-0.810" "-0.155" "11672.046" "85719.356" "533.872" "1.000" }
    { "-0.636" "-0.187" "12003.784" "85673.134" "559.834" "1.000" }
    { "-0.572" "-0.134" "12125.561" "85748.770" "558.705" "1.000" }
  }
}]

set status [ SclFunction "ZOOM ALL" {} ]

set status [ SclFunction "SMOOTH STRINGS" {
  frm01315={
    {
      _action="display"
      string_rng="500"
      segment_rng=""
      number_lines="3"
    }
  }
}]

set status [ SclFunction "SAVE FILE AS" {
  output_file="fly1.str"
  output_type="Surpac String Files"
  output_filenames=""
  Surpac={
    Purpose=""
    range=""
    FileFormat="text"
    ForceValidation="true"
    ForceCompatibility="true"
  }
  frm00121={
    {
      _action="apply"
    }
  }
}]


set status [ SclFunction "DRAW MARKERS" {
  frm00089={
    {
      _action="display"
      range1=""
      range2=""
      range3="1"
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="fly"
    }
  }
}]

set status [ SclFunction "LAYER OPTIONS" {
  layername="eom_pit.dtm"
  selectable="false"
}]

set status [ SclFunction "VIEW ALONG STRING" {
  frm00100={
    {
      _action="display"
      method="along string"
      view_bearing="0"
      view_dip="0"
      pause="N"
      maxdist="20"
      camera_field="100"
      zoffset="20"
      base_filename="fly"
      file_type="gif"
      xres="800"
      yres="600"
    }
  }
  select_point={
    {
      winx="0.907"
      winy="0.092"
      objectx="14939.030"
      objecty="86072.323"
      objectz="581.845"
    }
  }
}]

set status [ SclFunction "ERASE STRINGS FROM LAYERS" {
  frm00851={
    {
      string_range=""
      segment_range=""
      layer_name="fly"
    }
  }
}]

puts ""
puts ""
puts ""
puts "macro _03b_fly_through_save_images.tcl completed"
puts ""
