Revit 2025 API
Displacement |
Validates that the input set of element ids is valid for a DisplacementElement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsNotEmpty( ICollection<ElementId> elementIds )
Public Shared Function IsNotEmpty ( elementIds As ICollection(Of ElementId) ) As Boolean
public: static bool IsNotEmpty( ICollection<ElementId^>^ elementIds )
static member IsNotEmpty : elementIds : ICollection<ElementId> -> bool
Parameters
- elementIds ICollectionElementId
- A set of element ids.
Return Value
BooleanTrue if the set of element ids is not empty.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also