GetPositiveOffsetDirectionForToOtherRebarConstraint Method


Returns the positive offset direction vector.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2024

Syntax

C#
public XYZ GetPositiveOffsetDirectionForToOtherRebarConstraint()
Visual Basic
Public Function GetPositiveOffsetDirectionForToOtherRebarConstraint As XYZ
Visual C++
public:
XYZ^ GetPositiveOffsetDirectionForToOtherRebarConstraint()

Return Value

The positive offset direction vector.

Remarks

This is available only for constraints of type ToOtherRebar.

Valid TargetRebarConstraintType are:

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'ToOtherRebar.' -or- The TargetRebarConstraintType is not valid.

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 →