Detail curve is an important Detail component usually used in the detail or drafting view. Detail curves are accessible in the DetailCurve class and its derived classes.
DetailCurve is view-specific as are other annotation elements. However, there is no DetailCurve.View property. When creating a detail curve, you must compare the detail curve to the model curve view.
Code Region 16-4: NewDetailCurve() and NewModelCurve() |
public DetailCurve NewDetailCurve (View, Curve, SketchPlane) |
public ModelCurve NewModelCurve (Curve, SketchPlane) |
Generally only 2D views such as level view and elevation view are acceptable, otherwise an exception is thrown.
Except for view-related features, DetailCurve is very similar to ModelCurve. For more information about ModelCurve properties and usage, see ModelCurve in the Sketching section.