You are here: Tutorials > Introduction > Introduction tutorial > More Surpac functions > Plotting with autoplot > Task: Open a database, display the drill holes, and create sections
GEOVIA Surpac

More Surpac functions

Drillhole database

You can display drillhole data, stored in a database, in any orientation such as plan or section view.

Task: Open a database, display drill hole data, and create sections

  1. Click Reset graphics .
  2. Open surpac.ddb in Graphics.
  3. When a database is open, the name of the database is displayed on the Status bar at the bottom of the Surpac window.

    Note: surpac.ddb connects to the MS Access database surpac.accdb.

  4. Click the surpac database icon on the Status bar and select Display drillholes.
  5. Enter the information as shown, and click Apply.
  6. Choose Display > Dynamic 2D grid .
  7. Choose View > Zoom > In, or use the scroll wheel on your mouse to zoom in.
  8. Note: The drill holes and gold values are displayed.

  9. Choose Database > Sections > Define.
  10. Enter the information as shown, and click Apply.
  11. The drillholes on section 7280 North are displayed.

  12. Use the scroll wheel on your mouse to zoom in to a drillhole as shown below.
  13. Different sample values are displayed using different colours.  These colours are controlled by a styles table in the database.

  14. Click the surpac database icon at the bottom of the screen, and then click Drillhole display styles.
  15. Expand the sample tree and the gold field to see the display attributes for gold.
  16. Note: To see all of the steps performed in this task, run 06a_display_drillholes_and_create_sections.tcl. You need to click Apply on any forms presented.

Block models

A block model contains three dimensional spatial data. For example, specific gravity, rock type, and estimated sample values.

Task: Display, constrain, and report a block model

  1. Click Reset graphics  .
  2. Open block_model.mdl in Graphics.
  3. When a block model is open, the name of the block model is displayed on the Status bar at the bottom of the Surpac window.

  4. Click the block_model icon, and select Display.
  5. Enter the information as shown, and click Apply.
  6. The block model is displayed in Graphics.

    Next, you will display only those blocks which have a gold value greater than zero, using a "constraint". A constraint can be thought of as a filter which selects blocks that meet a set of conditions.

  7. Click the block_model icon, and select New constraint.
  8. In Constraint type, select BLOCK and fill in the three input boxes below so that the constraint is “gold > 0”.
  9. Click Add to add the constraint, and then click Apply.
  10. The blocks that have a gold value greater than zero are displayed.

    Next, you will colour the blocks by gold values.

  11. Click the block_model icon, and select Colour by attribute.
  12. Select gold for the Attribute to colour by.
  13. Select the Apply transition when scanning check box.
  14. Click Scan.
  15. A default set of colours are displayed.

  16. Click Apply.
  17. The blocks are coloured by gold values.

    Note: You might need to click and drag the model to see the colours.

  18. Choose Block Model > Display > Edge and face visibility.
  19. Clear the Display block edges check box, and click Apply.
  20. Only the block faces are displayed.

  21. Choose Block Model > Attributes > View attributes for one block.
  22. Click any block.
  23. The selected block is highlighted, and the attribute values for the block are displayed.

  24. Click Cancel.
  25. Next, you create a report of the volume, tonnes, and average gold grade.

  26. Choose Block model > Block model > Report.
  27. Enter the information as shown, and click Apply.
  28. Enter the information as shown, and click Apply.
  29. Note: To add a new report attribute row, right-click below the row and select Add.

  30. Enter the information as shown, and click Apply.
  31. The report contains volume, tonnes, average gold (grams per tonne) and aggregate gold (total grams of contained metal) for each grade range.

    Note: To see all of the steps performed in this task, run 06b_block_model.tcl. You need to click Apply on any forms presented.

Plotting with autoplot

There are two ways to create plots in Surpac:

  • to create simple plots from data displayed in graphics, use Autoplot
  • to create complex plots from files on disk:
    • use the Plotting > Entity submenu to create or modify entity definitions
    • use the Plotting > Map submenu to create or modify map definitions
    • use the Plotting > Process submenu to create the final plot

This section describes Autoplot only. The Plotting Tutorial describes how to create complex plots.

Task: Produce a plot of a pit using autoplot

  1. Click Reset graphics .
  2. Open pit_design1.str in Graphics.
  3. Choose Plotting > Autoplot.
  4. Enter the information as shown, and click Apply.
  5. Note: Make sure you select the Lock X/Y scale check box.

  6. Enter the information as shown, and click Apply.
  7. Use the scroll wheel to zoom out, then click and drag with the left mouse button in Graphics to move the plot outline.
  8. When the plot border is positioned where you want it, Press F2.
  9. Enter the information as shown, and click Apply.
  10. The plot is displayed in the plot preview window.

Note: To see all of the steps performed in this task, run 06c_plotting_with_autoplot.tcl. You need to click Apply on any forms presented.