RVTDocs.com

DisplacementElement.CanElementsBeDisplaced(View, ICollection<ElementId>)

Method
Description:
Indicates if elements can be assigned to a new DisplacementElement.
Remarks:
A necessary condition is that isAllowedAsDisplacedElement returns true for each individual element id. In addition, if isElementDisplaced must return the same value for all the specified element ids.
Syntax
public static bool CanElementsBeDisplaced(
	View view,
	ICollection<ElementId> elementIds
)
Parameters
Parameter Type Description
view View The view.
elementIds ICollection The element ids.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null