Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 886 Bytes

File metadata and controls

39 lines (31 loc) · 886 Bytes

GetObjectVariableReal

Description

Returns the value of a VectorWorks object property. Used with properties returning a REAL value. Always returns values in mm, regardless of document units.

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

FUNCTION GetObjectVariableReal(
				h     : HANDLE;
				index : INTEGER): REAL;
def vs.GetObjectVariableReal(h, index):
    return REAL

Parameters

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

Examples

VectorScript

dim_offset:= GetObjectVariableReal(h,4);

Python

dim_offset = vs.GetObjectVariableReal(h,4)

Version

Availability: from VectorWorks9.0

Category