IsNotEmpty Method


Displacement Element Is Not Empty Method

Validates that the input set of element ids is valid for a DisplacementElement.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static bool IsNotEmpty(
	ICollection<ElementId> elementIds
)

Parameters

elementIds ICollection ElementId
A set of element ids.

Return Value

Boolean
True if the set of element ids is not empty.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →