Retrieves the location and orientation of the working plane.
PROCEDURE GetWorkingPlane(
VAR x : REAL;
VAR y : REAL;
VAR z : REAL;
VAR xRotation : REAL;
VAR yRotation : REAL;
VAR zRotation : REAL);def vs.GetWorkingPlane():
return (x, y, z, xRotation, yRotation, zRotation)| Name | Type | Description |
|---|---|---|
| x | REAL | X-coordinate of the working plane |
| y | REAL | Y-coordinate of the working plane |
| z | REAL | Z-coordinate of the working plane |
| xRotation | REAL | X-coordinate value of the rotation |
| yRotation | REAL | Y-coordinate value of the rotation |
| zRotation | REAL | Z-coordinate value of the rotation |
GetWorkingPlane(1.0, 2.0, 0.5, 1.5, 3.0, 1.0);import vs
# Retrieves the location and orientation of the working plane.
x, y, z, xRotation, yRotation, zRotation = vs.GetWorkingPlane()
vs.Message('GetWorkingPlane returned: ' + str((x, y, z, xRotation, yRotation, zRotation)))VS Functions: SetWorkingPlane
Availability: from VectorWorks10.0