VS:GetVPClassVisibility

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 class in the specified viewport.
FUNCTION GetVPClassVisibility(
viewportHandle  :HANDLE;
className  :STRING;
VAR visibilityType  :INTEGER) : BOOLEAN;
def vs.GetVPClassVisibility(viewportHandle, className):
    return (BOOLEAN, visibilityType)

Parameters

viewportHandle HANDLE
className STRING
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