Official GEOVIA reseller in Indonesia ISO 9001 · ISO 14001
ACALAGeological Expertise, Mining Excellence

Surpac›TCL / SCL Scripting

Surpac TCL/SCL Scripts Examples

SBSatrio BaskoroACALA support team1 min read273 words
Surpac TCL/SCL Scripts Examples

The attached data package was developed to assist new users in the their understanding of TCL and SCL. The scripts complement the Surpac help descriptions, with SCL and TCL examples existing in a TCL format that can be easily executed within the Surpac GUI.

How to Execute Scripts

  1. Download and unzip SurpacHelp_TCL_SCL_Scripts.zip to an arbitrary folder
  2. Set the script folder as the work directory
  3. Run the example TCL scripts, by either right mouse-click open or by dragging the script into the Surpac graphics window
SurpacHelp_TCL_SCL_Scripts
SurpacHelp_TCL_SCL_Scripts

When to use this

Scripting is worth learning as soon as you repeat the same Surpac task every week: standard reports, file conversions, plot production or data checks. Working examples are the quickest way to understand how commands, forms and variables fit together, and adapting a script that already runs is less error-prone than starting from a blank file.

Over time, a small library of tested scripts becomes a team asset, giving consistent outputs no matter who runs the task.

Practical checks

  • Run the examples in a test folder that contains copies of data, never in a live project directory.
  • Read each script before running it, so you know which files it creates or overwrites.
  • Add comments to any script you adapt, and save each change under a new version name.
  • Test adapted scripts on a small dataset and compare the output with the same task done manually.

See GEOVIA Surpac for scripting support. Rapid Design is an example of a full design menu built from Surpac TCL macros, and GEOVIA training can cover scripting for your team.

Next step

Want your team to work this way every day?

Our courses teach these workflows in GEOVIA Surpac, Whittle and MineSched, and our support team answers the questions that come up afterwards.