VS:GetLayerOptions

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

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

Return Value

Returns an INTEGER indicating the layer visibility status of the document.

Remarks

Example:<pre>

Message(GetLayerOptions); </pre>

Version

Availability: from VectorWorks8.5

See Also

VS Functions:

VS:SetLayerOptions

VS Functions: [[VS:SetLayerOptions]]