CreateFromCurves Method


Computation Data For 3DPath Set Create From Curves Method

Creates a new instance of the ComputationDataFor3DPathSet class from the provided curves.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static ComputationDataFor3DPathSet CreateFromCurves(
	IList<Curve> curves
)

Parameters

curves IList Curve
The curves that define the 3D path set. The curves must be coplanar and continuous.

Return Value

ComputationDataFor3DPathSet
Returns a new instance of the ComputationDataFor3DPathSet class.
Exceptions
Exception Condition
ArgumentException curves are not continuous. They do not form a valid curve loop. -or- The curves are not coplanar.
ArgumentNullException A non-optional argument was null
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 →