Scl - Loop over SWA and get coordinates of first point of each segment

1
2
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Simple Scl/Tcl Surpac script that loops over all strings and segments in a swa and gets the x,y coordinates of the first point. File to scan is defined by variable "file_path", and results are stored in variables "string_ids_l", segment_count_a and segment_coordinates_a.

Note - Formatted as PowerShell as Tcl has similar syntax

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.