Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.18 KB

File metadata and controls

51 lines (42 loc) · 1.18 KB

GetWorkingPlane

Description

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)

Parameters

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

Examples

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)))

See Also

VS Functions: SetWorkingPlane

Version

Availability: from VectorWorks10.0

Category