Indicates if elements can be assigned to a new DisplacementElement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool CanElementsBeDisplaced( View view, ICollection<ElementId> elementIds, out ElementId commonDisplacedElementId )
Parameters
- view View
- The view.
- elementIds ICollection<ElementId>
- The element ids.
- commonDisplacedElementId ElementId%
- If this method returns true, then this is the element id of a DisplacementElement which lists all of elemIds among its displaced elements.
Return Value
BooleanReturns true if the specified element ids can be assigned to a new DisplacementElement.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |