RebarConstraint.GetTargetCoverType
Method
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| targetIndex | Int32 | The index of the target. Should be between 0 and NumberOfTargets(). |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | targetIndex is out of range. |
| InvalidOperationException | RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'FixedDistanceToHostFace' or 'ToCover'. |