Remove Method (ConnectorSet)


MEPSystem Remove(Connector Set) Method

Removes connectors from system.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void Remove(
	ConnectorSet connectors
)

Parameters

connectors ConnectorSet
The connectors to be removed from the system.
Exceptions
Exception Condition
ArgumentNullException Thrown when the input argument elements is , or any element in that collection is .
ArgumentException Thrown when some of the connectors can't be removed, or when trying to remove all connectors from the system.
InvalidOperationException Thrown when the operation failed.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →