loop over groups?

JSL
Global Mapper UserTrusted User
I'm just starting to work with scripting, and I love the ability to loop over layers to perform a function on each layer. Is it possible to loop over groups, so the script will perform its function on one group, then move to the next?
Answers
-
LAYER_LOOP_START FILENAME="POINTS<sub>*"
will loop over all layers in the group named "POINTS"
Categories
- 12.5K All Categories
- 5.5K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 611 GM Script Language
- 50 User Scripts
- 112 GPS Features
- 397 Projection Questions
- 803 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 893 Bug Report
- 557 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 542 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 229 How I use Global Mapper
- 104 Global Mapper Forum Website