CADObjectUniqueId Property


Energy Analysis Surface CADObject Unique Id Property

The unique id of the originating CAD object (model element) associated with this surface.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public string CADObjectUniqueId { get; }

Property Value

String
Remarks
This id can be passed to obtain the element from Document.Element[string] property, but any element obtained through this method may no longer be a valid or up-to-date model element. The originating CAD object is only accurate and up-to-date at the time of creation of the energy model. If the originating element belongs to a linked document, the unique id of the link obtained from CADLinkUniqueId should be used to access it.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →