RebarConstraint.GetPositiveOffsetDirectionForToOtherRebarConstraint
Description:
Returns the positive offset direction vector.
Returns the positive offset direction vector.
Remarks:
This is available only for constraints of type ToOtherRebar.
Valid TargetRebarConstraintType are:
- RebarPlane
- Edge
- OutOfPlaneExtent
- StartOfBar, only if the RebarShape has a definition of RebarShapeMultiplanarDefinition with [!:RebarShapeMultiplanarDefinition::IsStartConnectorPressent]
- EndOfBar, only if the RebarShape has a definition of RebarShapeMultiplanarDefinition with [!:RebarShapeMultiplanarDefinition::IsEndConnectorPressent]
public XYZ GetPositiveOffsetDirectionForToOtherRebarConstraint()
XYZ
The positive offset direction vector.
-
RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'ToOtherRebar.' -or- The TargetRebarConstraintType is not valid.