RVTDocs.com

DisplacementElement.SetDisplacedElementIds

Method
Description:
Sets the ids of the elements affected by this DisplacementElement.
Syntax
public void SetDisplacedElementIds(
	ICollection<ElementId> displacedElemIds
)
Parameters
Parameter Type Description
displacedElemIds ICollection Set of ids of elements to be displaced by this DisplacementElement.
Return Value
Exceptions
Exception Condition
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