Share

ConnectorElement.SetLinkedConnectorElement Method

Set the linked connector element.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public void SetLinkedConnectorElement(
	ConnectorElement otherConnector
)

Parameters

otherConnector  ConnectorElement
The connector to link to.

Exceptions

ExceptionCondition
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.
InvalidOperationException This connector type does not support linked connectors.

Remarks

Set the linked connector to null to remove the link.

See Also

Reference

Was this information helpful?