ElementRecord
Description:
A record in the Revit database representing an element.
A record in the Revit database representing an element.
Remarks:
The record is used to extract basic information about an element before the element is fully expanded in memory.
The record is used to extract basic information about an element before the element is fully expanded in memory.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.ElementRecord
System.Object
Autodesk.Revit.DB.ElementRecord
public class ElementRecord : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetBoundingBox() | nullNothingnullptr | Gets the bounding box of the element record. |
| GetCategoryId() | The category id. | Gets the category id of the element record. |
| GetDesignOptionId() | ElementId | Gets the design option id of the element record. |
| GetId() | The element id. | Gets the id of the element record. |
| GetOwnerViewId() | ElementId | Gets the element id of the owner view record. |
| HasBoundingBox() | bool | Determines whether this element record has a bounding box. |
| IsAnElementType() | bool | Identifies if the element record represents an ElementType. |
| IsCurveDriven() | bool | Identifies if the element is curve driven. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| WorksetId | WorksetId | Get Id of the workset which owns the element. |