GetPositiveOffsetDirectionForToOtherRebarConstraint Method


Rebar Constraint Get Positive Offset Direction For To Other Rebar Constraint Method

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

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public XYZ GetPositiveOffsetDirectionForToOtherRebarConstraint()

Return Value

XYZ
Returns the default positive offset direction vector.
Exceptions
Exception Condition
InvalidOperationException 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.
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]
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →