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

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

set status [ SclFunction "DIGITISER" {
  frm00083={
    {
      _action=display
      string="10"
      zval="150"
      desc=""
      retain="1"
    }
  }
}]

set status [ SclFunction "DIGITISER DIGITISE" {
  digitise_point=table { winx winy objectx objecty objectz mousebutton } {
    { "-0.559" "0.456" "1406.052" "7765.639" "150.000" "1.000" }
    { "-0.506" "0.684" "1412.268" "7789.023" "150.000" "1.000" }
    { "-0.352" "0.822" "1430.620" "7803.231" "150.000" "1.000" }
  }
}]

set status [ SclFunction "DIGITISER SELECT" {
  select_point=table { winx winy objectx objecty objectz } {
    { "-0.187" "0.871" "1450.156" "7808.263" "150.030" }
    { "-0.137" "0.920" "1456.076" "7813.295" "150.030" }
    { "-0.050" "0.902" "1466.436" "7811.519" "150.030" }
  }
}]

set status [ SclFunction "DIGITISER FOLLOW SEGMENT" {
  world_drag=table { objectx objecty objectz dx dy dz drag_direction } {
    { "1491.606" "7800.929" "150.000" "1526.300" "7648.700" "150.000" "0" }
    { "1533.758" "7639.910" "150.000" "1410.300" "7700.300" "150.000" "0" }
  }
}]

set status [ SclFunction "DIGITISER CLOSE SEGMENT" {} ]

set status [ SclFunction "FILE SAVE" {
  frmsaveFileAs={
    {
      AutoCAD={
        version="Autocad 24 (2010)"
      }
      output_file="surpac2str:pit150"
      outputExt=".str"
      Datamine={
        binary_precision="Single"
      }
      Surpac={
        FileFormat="text"
        ForceValidation="true"
        Purpose=""
        ForceCompatibility="true"
        range="10"
      }
      output_type="Surpac String Files"
    }
  }
  frm00121={
    {
      _action="apply"
    }
  }
}]

set status [ SclFunction "EXIT GRAPHICS" {} ]

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

set status [ SclFunction "DRAW NUMBERS" {
  frm00089={
    {
      _action=display
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      layer_name="pit150.str"
    }
  }
}]

set status [ SclFunction "CLEAN STRING" {
  frm00605={
    {
      operation="Duplicate Point"
      dup_pnts_action="remove"
      dup_pnts_target="string"
      dup_pnts_dist_min="0"
      dup_pnts_dist="1"
      dimension="2D"
    }
  }
  select_point={
    {
      winx="0.040"
      winy="-0.084"
      objectx="1477.910"
      objecty="7710.134"
      objectz="150.000"
    }
  }
}]

set status [ SclFunction "TOOL MODE TRADITIONAL" {} ]

set status [ SclFunction "TOOL CANCEL CURRENT" {} ]

set status [ SclFunction "POINT DELETE" {
  select_point=table { winx winy objectx objecty objectz } {
    { "0.213" "0.055" "1506.363" "7724.360" "150.000" }
    { "0.227" "-0.081" "1508.779" "7710.402" "150.000" }
    { "0.245" "-0.251" "1511.731" "7692.955" "150.000" }
    { "0.273" "-0.355" "1516.295" "7682.218" "150.000" }
    { "0.338" "-0.681" "1527.031" "7648.666" "150.000" }
    { "0.340" "-0.681" "1527.300" "7648.666" "150.000" }
    { "0.050" "-0.817" "1479.521" "7634.708" "150.000" }
    { "0.032" "-0.862" "1476.568" "7630.145" "150.000" }
    { "0.105" "-0.901" "1488.647" "7626.119" "150.000" }
    { "-0.006" "-0.883" "1470.395" "7627.998" "150.000" }
    { "-0.015" "-0.883" "1468.784" "7627.998" "150.000" }
    { "0.115" "-0.924" "1490.258" "7623.703" "150.000" }
    { "-0.356" "-0.188" "1412.684" "7699.397" "150.000" }
    { "-0.376" "-0.149" "1409.463" "7703.423" "150.000" }
    { "-0.374" "-0.232" "1409.732" "7694.834" "150.000" }
    { "-0.123" "0.856" "1451.068" "7806.765" "150.000" }
  }
}]

set status [ SclFunction "TOOL MODE TRADITIONAL" {} ]

set status [ SclFunction "TOOL CANCEL CURRENT" {} ]

set status [ SclFunction "ERASE TEMPORARY MARKERS" {} ]

set status [ SclFunction "DESIGN GRADE" {
  frm00070={
    {
      _action=display
      units="angle"
      design_grade="45"
    }
  }
}]

set status [ SclFunction "DESIGN STRING" {
  frm00071={
    {
      _action=display
      idesign_string="20"
    }
  }
}]

set status [ SclFunction "EXPAND SEGMENT" {
  select_point={
    {
      winx="-0.668"
      winy="-0.108"
      objectx="1392.004"
      objecty="7707.623"
      objectz="150.030"
    }
  }
  frm00109={
    {
      _action=display
      expand_type="D"
      offset="100"
    }
  }
}]

set status [ SclFunction "TOOL MODE TRADITIONAL" {} ]

set status [ SclFunction "TOOL CANCEL CURRENT" {} ]

set status [ SclFunction "ZOOM ALL" {} ]

set status [ SclFunction "TOOL MODE TRADITIONAL" {} ]

set status [ SclFunction "TOOL CANCEL CURRENT" {} ]

set status [ SclFunction "2D GRID" {
  frm00140={
    {
      _action=display
      sectionGridPos="Behind"
      zgrid_inc=""
      yExtentMinCustom="7500"
      longSectionGridPos="None"
      xExtentMinCustom="1300"
      xlabel_inc="1"
      xExtentsBox="Data"
      grid_line_colour="r=0.2 g=0.4 b=1.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               "
      ylabel_inc="1"
      gridFile=""
      grid_text_colour="r=1.0 g=0.0 b=1.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               "
      ygrid_inc_data="50.000"
      ygrid_inc_custom="50.000"
      yExtentMaxCustom="7950"
      xgrid_inc_custom="50.000"
      xExtentMaxCustom="1700"
      ygrid_inc_view="50.000"
      zlabel_inc="1"
      yExtentsBox="Data"
      replaceCurrentGrid="Y"
      grid="above"
      xgrid_inc_data="50.000"
      grid_plane_value=""
      planGridPos="Below"
      xgrid_inc_view="50.000"
    }
  }
}]

set status [ SclFunction "GRAPHICS CREATE DTM" {
  frm01311={
    {
      _action=display
      interpolate_new_points_distance="50"
      obj_name=""
      object_num="1"
      interpolate_new_points="N"
      breaktest="Y"
    }
  }
}]

set status [ SclFunction "3D GRID" {
  frm00140={
    {
      _action=display
      sectionGridPos="Behind"
      zgrid_inc="50"
      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"
      zlabel_inc="1"
      yExtentsBox="View"
      replaceCurrentGrid="Y"
      grid="above"
      xgrid_inc_data="1.000"
      grid_plane_value=""
      planGridPos="Below"
      xgrid_inc_view="50"
    }
  }
}]

set status [ SclFunction "VIEW BY BEARING" {
  frm00289={
    {
      bearing="25"
      dip="-30"
    }
  }
}]

set status [ SclFunction "FILE SAVE" {
  frmsaveFileAs={
    {
      AutoCAD={
        version="Autocad 24 (2010)"
      }
      output_file="surpac2str:pit150"
      outputExt=".dtm"
      Datamine={
        binary_precision="Single"
      }
      Surpac={
        FileFormat="text"
        ForceValidation="true"
        Purpose=""
        ForceCompatibility="true"
        range=""
      }
      output_type="Surpac DTM Files"
    }
  }
  frm00121={
    {
      _action="apply"
    }
  }
}]

 puts ""
puts ""
puts " Macro _01_simple_pit.tcl completed"
puts ""