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| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
| index | INTEGER | Object property index. |
==== VectorScript ====
dim_offset:= GetObjectVariableReal(h,4);==== Python ====
dim_offset = vs.GetObjectVariableReal(h,4)Availability: from VectorWorks9.0
- Object Info