VS:SetVPLayerVisibility

From Vectorworks Developer
Jump to: navigation, search

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

Description

Sets the visibility for the specified layer in the specified viewport.
FUNCTION SetVPLayerVisibility(
viewportHandle  :HANDLE;
layerHandle  :HANDLE;
visibilityType  :INTEGER) : BOOLEAN;
def vs.SetVPLayerVisibility(viewportHandle, layerHandle, visibilityType):
    return BOOLEAN

Parameters

viewportHandle HANDLE
layerHandle HANDLE
visibilityType INTEGER

Remarks

visibilityType values:
  • -1 invisible,
  • 0 visible,
  • 2 gray

Version

Availability: from VectorWorks 11.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox