RebarConstraint.GetTargetCoverTypeForToHostEdgeConstraint
Description:
Returns the RebarCoverType for the face provided at faceIndex, that forms the edge of this RebarConstraint at the specified targetIndex. The RebarConstraintType of the RebarConstraint must be 'ToHostEdge' or 'ToHostEdgeCover'.
Returns the RebarCoverType for the face provided at faceIndex, that forms the edge of this RebarConstraint at the specified targetIndex. The RebarConstraintType of the RebarConstraint must be 'ToHostEdge' or 'ToHostEdgeCover'.
public RebarCoverType GetTargetCoverTypeForToHostEdgeConstraint(
int targetIndex,
int faceIndex
)
-
Int32targetIndexThe index of the target. Should be between 0 and NumberOfTargets().
-
Int32faceIndexThe face index of the edge. Should be 0 or 1.
Return Value
RebarCoverType
Returns the RebarCoverType for the face provided at faceIndex, that forms the edge of this RebarConstraint at the specified targetIndex.
-
targetIndex is out of range. -or- faceIndex must be 0 or 1.
-
RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'ToHostEdge' or 'ToHostEdgeCover'.