GetCouplerPositionTransform Method


Rebar Coupler Get Coupler Position Transform Method

Return a transform representing the relative position of the coupler at index couplerPositionIndex in the set.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Transform GetCouplerPositionTransform(
	int couplerPositionIndex
)

Parameters

couplerPositionIndex Int32
An index between 0 and (CouplerQuantity-1).

Return Value

Transform
Returns a transformation that is composed from : - a translation from (0, 0, 0) to coupler origin - a rotation that will align the coupler with the bar segment on which it stays.
Exceptions
Exception Condition
ArgumentOutOfRangeException couplerPositionIndex is not in the range [ 0, CouplerQuantity-1 ].
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 →