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