Skip to content

Latest commit

 

History

History
74 lines (64 loc) · 1.5 KB

File metadata and controls

74 lines (64 loc) · 1.5 KB

GetLayerOptions

Description

Returns layer visibility setting for the active document.

Visibility Index
Active Only 1
Gray Others 2
Gray/Snap Others 6
Show Others 3
Show/Snap Others 4
Show/Snap/Modify Others 5
FUNCTION GetLayerOptions : INTEGER;
def vs.GetLayerOptions():
    return INTEGER

Remarks

Example:

Message(GetLayerOptions);

Examples

resultN := GetLayerOptions;
import vs

# Returns layer visibility setting for the active document.
resultN = vs.GetLayerOptions()
vs.Message('GetLayerOptions returned: ' + str(resultN))

See Also

VS Functions: SetLayerOptions

Version

Availability: from VectorWorks8.5

Category