Share

Document.AutoJoinElements Method

Forces the elements in the Revit document to automatically join to their neighbors where appropriate.


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

Syntax

C#

public void AutoJoinElements()

Exceptions

ExceptionCondition
AutoJoinFailedException Thrown when the operation fails.

Remarks

Use this method to force elements in the document to automatically join to their neighbors. Note that when a transaction is committed there is an automatic call to automatically join elements.

See Also

Reference

Was this information helpful?