Share

DisplacementElement.SetDisplacedElementIds Method

Sets the ids of the elements affected by this DisplacementElement.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public void SetDisplacedElementIds(
	ICollection<ElementId> displacedElemIds
)

Parameters

displacedElemIds  ICollection<ElementId>
Set of ids of elements to be displaced by this DisplacementElement.

Exceptions

ExceptionCondition
ArgumentException For each individual element in the set displacedElemIds, isAllowedAsDisplacedElement must return true, and the elements must not already be displaced in the specified view.
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?