Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 537 Bytes

File metadata and controls

32 lines (25 loc) · 537 Bytes

NumLayers

Description

Function NumLayers returns the current number of layers within the active document.

FUNCTION NumLayers : INTEGER;
def vs.NumLayers():
    return INTEGER

Examples

resultN := NumLayers;
import vs

# Function NumLayers returns the current number of layers within the active
# document.
count = vs.NumLayers()
vs.Message('NumLayers returned: ' + str(count))

Version

Availability: from All Versions

Category