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| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
| index | INTEGER | Object property index. |
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.
castShadow:= GetObjectVariableBoolean(h,53);castShadow = vs.GetObjectVariableBoolean(h,53)Availability: from VectorWorks9.0