Removes connectors from system.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- connectors
- Type: Autodesk.Revit.DBConnectorSet
The connectors to be removed from the system.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentNullException | Thrown when the input argument elements is a null reference (Nothing in Visual Basic), or any element in that collection is a null reference (Nothing in Visual Basic). |
| Autodesk.Revit.ExceptionsArgumentException | Thrown when some of the connectors can't be removed, or when trying to remove all connectors from the system. |
| Autodesk.Revit.ExceptionsInvalidOperationException | Thrown when the operation failed. |