Remove Method


Mechanical Equipment Set Remove Method

Removes member element ids from the mechanical equipment set.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void Remove(
	ISet<ElementId> elemIds
)

Parameters

elemIds ISet ElementId
Element ids to be removed from the mechanical equipment set.
Exceptions
Exception Condition
ArgumentException One or more element ids was not permitted to be removed from the mechanical equipment set. All elements should be a member of the mechanical equipment set.
ArgumentNullException A non-optional argument was null
Remarks
If all the members are removed, the instance of the mechanical equipment set is automatically deleted.
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 →