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 INTEGERExample:
Message(GetLayerOptions);resultN := GetLayerOptions;import vs
# Returns layer visibility setting for the active document.
resultN = vs.GetLayerOptions()
vs.Message('GetLayerOptions returned: ' + str(resultN))VS Functions: SetLayerOptions
Availability: from VectorWorks8.5