AttachChord Method


Truss Attach Chord Method

Attach a truss's specific chord to a specified element, the element should be a roof or floor.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void AttachChord(
	Element attachToElement,
	TrussChordLocation location,
	bool forceRemoveSketch
)

Parameters

attachToElement Element
The element to which the truss's chord will attach. The element should be a roof or floor.
location TrussChordLocation
The chord need to be attached.
forceRemoveSketch Boolean
Whether to detach the original sketch if there is one.
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 →