| Revit Preview Release API |
| DisplacementElement..::..CanElementsBeAddedToDisplacementSet Method |
| DisplacementElement Class See Also |
Indicates if these elements can be displaced by this DisplacementElement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since:
2014
Syntax
| C# |
|---|
public bool CanElementsBeAddedToDisplacementSet( ICollection<ElementId> toDisplace ) |
| Visual Basic |
|---|
Public Function CanElementsBeAddedToDisplacementSet ( _ toDisplace As ICollection(Of ElementId) _ ) As Boolean |
| Visual C++ |
|---|
public: bool CanElementsBeAddedToDisplacementSet( ICollection<ElementId^>^ toDisplace ) |
Parameters
- toDisplace
- Type: System.Collections.Generic..::..ICollection<(Of <(<'ElementId>)>)>
The elements to displace.
Return Value
True if the elements can be displaced by this DisplacementElement.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |