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.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 827 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 918 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 570 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 239 How I use Global Mapper
- 107 Global Mapper Forum Website