VS:GetVPLayerVisibility

From Vectorworks Developer
Jump to: navigation, search

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

Description

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

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