2027 Method
Changes 4
M

RebarConstraint.GetPositiveOffsetDirectionForToOtherRebarConstraint

Description:
Returns the default positive offset direction vector for a constraint to a Shape Driven Rebar.
Remarks:

This is available only for constraints to a Shape Driven Rebar target.

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 Returns the default positive offset direction vector.
  • RebarConstraint is no longer valid. -or- Constrained rebar isn't a Shape Driven Rebar element. -or- The RebarConstraint is not of RebarConstraintType 'ToOtherRebar'. -or- The TargetRebarConstraintType is not valid.