VS:SetLayerOptions

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Description

Sets 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
PROCEDURE SetLayerOptions(
layerOpts :INTEGER);
def vs.SetLayerOptions(layerOpts):
    return None

Parameters

layerOpts INTEGER New layer visibility setting for document.

Version

Availability: from VectorWorks8.5

See Also

VS Functions:

VS:GetLayerOptions

VS Functions: [[VS:GetLayerOptions]]