RebarCoupler.GetCouplerPositionTransform
Description:
Return a transform representing the relative position of the coupler at index couplerPositionIndex in the set.
Return a transform representing the relative position of the coupler at index couplerPositionIndex in the set.
public Transform GetCouplerPositionTransform(
int couplerPositionIndex
)
-
Int32couplerPositionIndexAn 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.
-
couplerPositionIndex is not in the range [ 0, CouplerQuantity-1 ].