Indicates if elements can be assigned to a new DisplacementElement.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool CanElementsBeDisplaced(
View view,
ICollection<ElementId> elementIds
)
Parameters
- view View
-
The view.
- elementIds ICollection<ElementId>
-
The element ids.
Return Value
Boolean
Exceptions
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.
See Also
Reference