Share

ItemFactoryBase.NewDetailCurve Method

Creates a new detail curve element.


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

Syntax

C#

public DetailCurve NewDetailCurve(
	View view,
	Curve geometryCurve
)

Parameters

view  View
The view in which the detail curve is to be visible.
geometryCurve  Curve
The internal geometry curve for detail curve. It should be a bound curve.

Return Value

DetailCurve
If successful a new detail curve element. Otherwise null.

Exceptions

ExceptionCondition
ArgumentExceptionThrown when curve is not in plane of the view

Remarks

Different type of detail curve element will be returned according to the type of geometry curve.

See Also

Reference

Was this information helpful?