Skip to content

MechanicalEquipmentSet.Remove

Public Class

Removes member element ids from the mechanical equipment set.

Namespace: Autodesk.Revit.DB.Mechanical

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public void Remove(
ISet<ElementId> elemIds
)

Parameters

elemIdsISet. 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.