Name
GetLayerGroups -- return layer groups in current BGPic (V10.0)
Synopsis
t = GetLayerGroups()
Function
This function collects all layer groups in the current BGPic and returns them in a table. The order in which the groups are returned in the table is arbitrary.

You need to enable layers before you can use this function. See Layers introduction for details.

Inputs
none

Results
t
table containing all layer groups
Example
t = GetLayerGroups()
For Local k = 0 To ListItems(t) - 1 Do DebugPrint(t[k])
The code above gets all layer groups and prints them.

Show TOC