Plane.Create Method

PlaneCreate Method

Creates a Plane object defined by a local frame of reference.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static Plane Create(
	Frame frameOfReference
)
Public Shared Function Create ( 
	frameOfReference As Frame
) As Plane
public:
static Plane^ Create(
	Frame^ frameOfReference
)
static member Create : 
        frameOfReference : Frame -> Plane 

Parameters

frameOfReference  Frame
frameOfReference is an orthonormal frame that defines a local coordinate system for the plane being constructed.
  • Frame.Origin is a point on plane.
  • Frame.BasisZ defines the plane's normal, while Frame.BasisX and Frame.BasisY are orthogonal to the normal.
  • The frame may be either left-handed or right-handed (see Frame.IsRightHanded).

Return Value

Plane
Exceptions
ExceptionCondition
ArgumentException This Frame object may not be used as a local frame of reference.
ArgumentNullException A non-optional argument was null
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.
See Also