Indicates if elements can be assigned to a new DisplacementElement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2014
Syntax
| C# |
|---|
public static bool CanElementsBeDisplaced(
View view,
ICollection<ElementId> elementIds,
out ElementId commonDisplacedElementId
) |
| Visual Basic |
|---|
Public Shared Function CanElementsBeDisplaced ( _
view As View, _
elementIds As ICollection(Of ElementId), _
<OutAttribute> ByRef commonDisplacedElementId As ElementId _
) As Boolean |
| Visual C++ |
|---|
public:
static bool CanElementsBeDisplaced(
View^ view,
ICollection<ElementId^>^ elementIds,
[OutAttribute] ElementId^% commonDisplacedElementId
) |
Parameters
- view
- Type: Autodesk.Revit.DB..::..View
The view.
- elementIds
- Type: System.Collections.Generic..::..ICollection<(Of <(<'ElementId>)>)>
The element ids.
- commonDisplacedElementId
- Type: Autodesk.Revit.DB..::..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
Returns true if the specified element ids can be assigned to a new DisplacementElement.
Remarks
Exceptions
See Also