Revit 2025.3 API
Direct |
Find a definition by id
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public IList<GeometryObject> FindDefinition( string id )
Public Function FindDefinition ( id As String ) As IList(Of GeometryObject)
public: IList<GeometryObject^>^ FindDefinition( String^ id )
member FindDefinition : id : string -> IList<GeometryObject>
Parameters
- id String
- Definition id. Expecected to be unique
Return Value
IListGeometryObjectList of geometry objects that together define a shape

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also