Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1014 Bytes

File metadata and controls

42 lines (33 loc) · 1014 Bytes

GetObjectVariableBoolean

Description

Returns the ON-OFF status of a VectorWorks object property.

For specific object selector index values, see the Script Appendix.

FUNCTION GetObjectVariableBoolean(
				h     : HANDLE;
				index : INTEGER): BOOLEAN;
def vs.GetObjectVariableBoolean(h, index):
    return BOOLEAN

Parameters

Name Type Description
h HANDLE Handle to object.
index INTEGER Object property index.

Remarks

From Julian: Appears to be unreliable for walls because it returns a different result depending on the view. Walls always report false for 2D, but only report true for 3D if in a 3D view.

Examples

VectorScript

castShadow:= GetObjectVariableBoolean(h,53);

Python

castShadow = vs.GetObjectVariableBoolean(h,53)

Version

Availability: from VectorWorks9.0

Category