Make connection between two connectors.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
public void ConnectTo( Connector connector)
connector Connector
Indicate the connector will be connected to.
Exception
Condition
Thrown when argument is ..
Argument is invalid.
Thrown when two connectors with different domain types. Thrown when these two connectors fail to connect each other. Thrown when connection already exists.
Connection success may create a new Fitting between two connectors, if necessary.