AssignAsPrimary Method


Connector Element Assign As Primary Method

Assign a connector as a primary connector.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void AssignAsPrimary()
Exceptions
Exception Condition
InvalidOperationException Thrown when fail to assign this connector as primary.
Remarks
This method is used to promote this connector as primary, and the rest of connectors in this system will be assigned as secondary.
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 →