Set the linked connector element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2013
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- otherConnector
- Type: Autodesk.Revit.DB ConnectorElement
The connector to link to.
Remarks
Set the linked connector to a null reference ( Nothing in Visual Basic) to remove the link.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | The connector being linked to is a different domain than that of the calling connector. -or- The connector being linked to is the same as the calling connector. |
| Autodesk.Revit.Exceptions InvalidOperationException | This connector type does not support linked connectors. |