RebarConstraint.GetTargetHostEdgeAndTransform
Description:
Returns the target host edge and the transform that is associated to the host edge's geometry. The RebarConstraintType of the RebarConstraint must be 'ToHostEdge' or 'ToHostEdgeCover'. Only applied to Free Form Rebar.
Returns the target host edge and the transform that is associated to the host edge's geometry. The RebarConstraintType of the RebarConstraint must be 'ToHostEdge' or 'ToHostEdgeCover'. Only applied to Free Form Rebar.
public TargetHostEdgeAndTransform GetTargetHostEdgeAndTransform(
int targetIndex
)
-
Int32targetIndexThe index of the target. Should be between 0 and NumberOfTargets().
Return Value
TargetHostEdgeAndTransform
Returns the target host edge and the transform that is associated to the host edge's geometry.
-
targetIndex is out of range.
-
RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'ToHostEdge' or 'ToHostEdgeCover'. -or- Constrained rebar isn't a Free Form Rebar element.