Identify a set of elements that potentially should be displaced along with a given element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2014
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- document
- Type: Autodesk.Revit.DBDocument
the document
- view
- Type: Autodesk.Revit.DBView
the view
- idToDisplace
- Type: Autodesk.Revit.DBElementId
element id of element to displace
Remarks
For example, when a wall is displaced, any inserts or hosted elements should also be displaced.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |