A Frame comprises three vectors at a base point in 3D space.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.Frame
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class Frame : IDisposable
The Frame type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Frame() | Default constructor. Uses global origin and standard basis vectors. | |
| Frame(XYZ, XYZ, XYZ, XYZ) | Constructor that takes the frame's base point and three basis vectors. |
Properties
| Name | Description | |
|---|---|---|
| BasisX | The first basis vector of the frame. | |
| BasisY | The second basis vector of the frame. | |
| BasisZ | The third basis vector of the frame. | |
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
| Origin | The frame's base point. |
Methods
| Name | Description | |
|---|---|---|
| CanDefineRevitGeometry | Tests whether the supplied Frame object may be used to define a Revit curve or surface. In order to satisfy the requirements the Frame must be orthonormal and its origin is expected to lie within the Revit design limits IsWithinLengthLimits(XYZ). | |
| Dispose | Releases all resources used by the Frame | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsOrthogonal | Determines if this frame's basis vectors are orthogonal. | |
| IsOrthonormal | Determines if this frame's basis vectors are orthonormal. | |
| IsRightHanded | Determine if this frame's basis is right-handed. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Transform | Applies the input transform to this frame. |
