Creates a Plane object defined by a local frame of reference.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static Plane Create( Frame frameOfReference )
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
PlaneExceptions
Exception | Condition |
---|---|
ArgumentException | This Frame object may not be used as a local frame of reference. |
ArgumentNullException | A non-optional argument was null |