RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Plane

Plane.Create

Method
Description:
Creates a Plane object defined by a local frame of reference.
Remarks:
The parametric equation of the plane is S(u, v) = Frame.Origin + u*Frame.BasisX + v*Frame.BasisY. Frame.BasisZ defines the plane's normal.
Syntax
public static Plane Create(
	Frame frameOfReference
)
Parameters
Parameter Type Description
frameOfReference Frame frameOfReference is an orthonormal frame that defines a local coordinate system for the plane being constructed. <ul><li>Frame.Origin is a point on plane. </li><li>Frame.BasisZ defines the plane's normal, while Frame.BasisX and Frame.BasisY are orthogonal to the normal. </li><li>The frame may be either left-handed or right-handed (see Frame.IsRightHanded). </li></ul>
Return Value
Exceptions
Exception Condition
ArgumentException This Frame object may not be used as a local frame of reference.
ArgumentNullException A non-optional argument was null