DisplacementElement.GetAdditionalElementsToDisplace
Method
Description:
Identify a set of elements that potentially should be displaced along with a given element.
Identify a set of elements that potentially should be displaced along with a given element.
Remarks:
For example, when a wall is displaced, any inserts or hosted elements should also be displaced.
For example, when a wall is displaced, any inserts or hosted elements should also be displaced.
Syntax
public static ICollection<ElementId> GetAdditionalElementsToDisplace(
Document document,
View view,
ElementId idToDisplace
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | the document |
view | View | the view |
idToDisplace | ElementId | element id of element to displace |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |