ComputeDrivingCurves Method


Rebar Shape Driven Accessor Compute Driving Curves Method

Compute the driving curves.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.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, hooks and cranks. 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.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →