From Vectorworks Developer
Revision as of 10:30, 12 August 2013 by Root
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionGets the matrix of the plane for a planar object.
VAR objectHandle :HANDLE;
VAR offsetX :REAL;
VAR offsetY :REAL;
VAR offsetZ :REAL;
VAR rotationXAngle :REAL;
VAR rotationYAngle :REAL;
VAR rotationZAngle :REAL) : BOOLEAN;
def vs.GetEntityMatrix(objectHandle): return (BOOLEAN, offset, rotationXAngle, rotationYAngle, rotationZAngle)
objectHandle HANDLE The object for which the matrix of its plane is being obtained. offsetX REAL The offset of the plane in current document units. offsetY REAL The offset of the plane in current document units. offsetZ REAL The offset of the plane in current document units. rotationXAngle REAL The rotation of the plane about the X-axis in degrees. rotationYAngle REAL The rotation of the plane about the Y-axis in degrees. rotationZAngle REAL The rotation of the plane about the Z-axis in degrees.