RVTDocs.com

ItemFactoryBase.NewDetailCurve

Method
Description:
Creates a new detail curve element.
Remarks:
Different type of detail curve element will be returned according to the type of geometry curve.
Syntax
public DetailCurve NewDetailCurve(
	View view,
	Curve geometryCurve
)
Parameters
Parameter Type Description
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
Type Description
DetailCurve If successful a new detail curve element. Otherwise .
Exceptions
Exception Condition
ArgumentException Thrown when curve is not in plane of the view