Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1.55 KB

File metadata and controls

50 lines (42 loc) · 1.55 KB

GetObjectVariablePoint

Description

Returns the value of a Vectorworks object property. Used with properties returning a 2D or 3D point value.

For specific object selector index values, see the Appendix.

FUNCTION GetObjectVariablePoint(
				h                       : HANDLE;
				index                   : INTEGER;
				VAR outPx, outPy, outPz : REAL): BOOLEAN;
def vs.GetObjectVariablePoint(h, index):
    return (BOOLEAN, outP)

Parameters

Name Type Description
h HANDLE Handle to object.
index INTEGER Object property index.
outP REAL Return the object variable data point.

Remarks

In python scripting, the point 'outP' will be returned as tuple (x,y,z)

See Also

VS Functions: SetObjectVariablePoint | GetObjectVariableBoolean | SetObjectVariableBoolean | GetObjectVariableHandle | SetObjectVariableHandle | GetObjectVariableInt | SetObjectVariableInt | GetObjectVariableLongInt | SetObjectVariableLongInt | GetObjectVariableReal | SetObjectVariableReal | GetObjectVariableString | SetObjectVariableString

Version

Availability: from Vectorworks 2011

Category