RebarShapeDrivenAccessorComputeDrivingCurves Method

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

IListCurve
Returns an empty array if an error is encountered.
Exceptions
ExceptionCondition
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.
See Also