Revit 2026 API
Direct |
Find a definition by id
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.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