Returns the ids of the lining elements associated to a given element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2012
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- document
- Type: Autodesk.Revit.DBDocument
The document.
- elemId
- Type: Autodesk.Revit.DBElementId
The element.
Return Value
A collection of the ids of the lining elements.Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | This id does not represent a duct, fitting, or accessory element. |
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |