May 10, 2019

How to use SCL commands to make points in Surpac

Certainly, one of my favorite features of Surpac is the ability to…
header
Avatar Trevor Lukaniuk

Certainly, one of my favorite features of Surpac is the ability to script and automate tasks using TCL. Using the record macro function allows for an easy way to loop and repeat a series of existing functions within Surpac, and can unlock a lot of potential for creative Surpac users.

Once we’ve mastered the ability manipulate the existing tools in Surpac using the within our macros, the next logical step to becoming a bonafide Surpac guru is to be able to create points, lines and triangles in the graphics workspace. In this post we will walk through the steps required to use TCL and SCL to create some new data into an existing layer in Surpac.

To start, let’s review the hierarchy of data in the Surpac workspace.

list

for

llength

incr

lindex

Stay up to date

Receive monthly updates on content you won’t want to miss

Subscribe

Register here to receive a monthly update on our newest content.