2027 Method
Changes 0
M

Plane.CreateByOriginAndBasis

Description:
Creates a Plane object defined by the two orthogonal unit vectors and passing through the origin point supplied as arguments.
Remarks:
The parametric equation of the plane is S(u, v) = origin + u*basisX + v*basisY. The plane's normal is defined as basisX.Cross(basisY).
public static Plane CreateByOriginAndBasis(
	XYZ origin,
	XYZ basisX,
	XYZ basisY
)
  • origin
    Plane origin. Expected to lie within the Revit design limits IsWithinLengthLimits(XYZ).
  • basisX
    First of the two unit vectors that define the plane. Must be orthogonal to the second one.
  • basisY
    Second of the two unit vectors that define the plane. Must be orthogonal to the first one.
Return Value Plane Plane