NewDetailCurveArray Method


Creates an array of new detail curve elements.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public DetailCurveArray NewDetailCurveArray(
	View view,
	CurveArray geometryCurveArray
)
Visual Basic
Public Function NewDetailCurveArray ( _
	view As View, _
	geometryCurveArray As CurveArray _
) As DetailCurveArray
Visual C++
public:
DetailCurveArray^ NewDetailCurveArray(
	View^ view, 
	CurveArray^ geometryCurveArray
)

Parameters

view
Type: Autodesk.Revit.DB View
The view in which the detail curves are to be visible.
geometryCurveArray
Type: Autodesk.Revit.DB CurveArray
An array containing the internal geometry curves for detail lines. The curve in array should be bound curve.

Return Value

If successful an array of new detail curve elements. Otherwise a null reference ( Nothing in Visual Basic) .

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown when curve is not in plane of the view

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 →