Global Mapper v26.0

loop over groups?

JSL
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

  • mcsmoother
    mcsmoother Global Mapper User

    LAYER_LOOP_START FILENAME="POINTS<sub>*"

    will loop over all layers in the group named "POINTS"