Skip to content

ElementRecord

Public Class

A record in the Revit database representing an element.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.ElementRecord

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class ElementRecord : IDisposable

The ElementRecord type exposes the following members.

Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property
WorksetId

Get Id of the workset which owns the element.


Methods

Name

Description


Public Method

Releases all resources used by the ElementRecord


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

Gets the bounding box of the element record.


Public Method

Gets the category id of the element record.


Public Method

Gets the design option id of the element record.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

Gets the id of the element record.


Public Method

Gets the element id of the owner view record.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Determines whether this element record has a bounding box.


Public Method

Identifies if the element record represents an ElementType.


Public Method

Identifies if the element is curve driven.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

The record is used to extract basic information about an element before the element is fully expanded in memory.