Turning Layers on and off

mprentermprenter Global Mapper UserPosts: 24Trusted User
Hello, is there a way to turn layers on and off via a script?  I have several point files loaded and I would like to turn off a layer, perform an export and then turn the layer on again and continue.  That way I can control what gets exported.  I only want to export one particular layer, not everything that's currently loaded.  From the GUI, I normally just turn off whatever I don't want to be saved.  I'm hoping this is also possible via a script.

Thanks,
Mark

Tagged:

Best Answer

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 1,904
    Answer ✓
    Hello Mark,

    This will do it:
    SET_LAYER_OPTIONS FILENAME="<your layer name here>" HIDDEN=YES
    
    Use HIDDEN=NO to turn the layer back on.
    Cheers, Bob

Answers

Sign In or Register to comment.