Skip to content

RebarShapeDrivenAccessor.ComputeDrivingCurves

Public Class

Compute the driving curves.

Namespace: Autodesk.Revit.DB.Structure

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public IList<Curve> ComputeDrivingCurves()

Return Value

IList. Curve.
Returns an empty array if an error is encountered.

Exceptions

Exception

Condition


InvalidOperationException

This RebarShapeDrivenAccessor doesn’t contain a valid rebar reference.


Remarks

The driving curves are the ones that appear in rebar sketch mode. They include lines and arcs that drive the shape, but exclude fillets and hooks. They always lie in a plane— if the bar is 3D, these curves are a subset or a projection. They are also used for shape matching.