2021 Class
Changes 0
C

ElementRecord

Description:
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ElementRecord
public class ElementRecord : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetBoundingBox() nullNothingnullptr Gets the bounding box of the element record.
M GetCategoryId() The category id. Gets the category id of the element record.
M GetDesignOptionId() ElementId Gets the design option id of the element record.
M GetId() The element id. Gets the id of the element record.
M GetOwnerViewId() ElementId Gets the element id of the owner view record.
M HasBoundingBox() bool Determines whether this element record has a bounding box.
M IsAnElementType() bool Identifies if the element record represents an ElementType.
M IsCurveDriven() bool Identifies if the element is curve driven.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P WorksetId WorksetId Get Id of the workset which owns the element.