RebarConstraint.GetTargetCoverType
Description:
Returns the RebarCoverType for the face specified by targetIndex. Returns null if no RebarHostData is present for target element.
Returns the RebarCoverType for the face specified by targetIndex. Returns null if no RebarHostData is present for target element.
public RebarCoverType GetTargetCoverType(
int targetIndex
)
-
Int32targetIndexThe index of the target. Should be between 0 and NumberOfTargets().
-
targetIndex is out of range.
-
RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'FixedDistanceToHostFace' or 'ToCover'.