The element id of the DisplacementElement that includes the specified element.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2014
Syntax
| C# |
|---|
public static ElementId GetDisplacementElementId( View view, ElementId id ) |
| Visual Basic |
|---|
Public Shared Function GetDisplacementElementId ( _ view As View, _ id As ElementId _ ) As ElementId |
| Visual C++ |
|---|
public: static ElementId^ GetDisplacementElementId( View^ view, ElementId^ id ) |
Parameters
- view
- Type: Autodesk.Revit.DB..::..View
The view.
- id
- Type: Autodesk.Revit.DB..::..ElementId
The element id.
Return Value
The element id of DisplacementElement that includes the specified element id.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |