GetSketchCurves Method


Populates the array with copies of curves in the sketch.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2013

Syntax

C#
public void GetSketchCurves(
	out IList<Curve> curveArray
)
Visual Basic
Public Sub GetSketchCurves ( _
	<OutAttribute> ByRef curveArray As IList(Of Curve) _
)
Visual C++
public:
void GetSketchCurves(
	[OutAttribute] IList<Curve^>^% curveArray
)

Parameters

curveArray
Type: System.Collections.Generic IList Curve %
Curves in the sketch. Tags of the curves are consistent with the curve tags used in part keys.

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 →