Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 849 Bytes

File metadata and controls

40 lines (31 loc) · 849 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 [[VS:Function Reference Appendix#Appendix G - Object Selectors|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

  • Object Info