Share

DrawingCurve Object


Description

The DrawingCurve object represents a curve within a drawing view that resulted from a model (including sketch entities).

Methods

Name Description
GetCustomLineType Method that returns information regarding the custom line type in use. The method returns a failure if the return value of the LineType property is not kCustomLineType.
SetCustomLineType Method that sets a custom line type to the curve from the specified .lin file. The method automatically changes the value of LineType property to kCustomLineType.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
CenterPoint Property that returns the center point of the curve in sheet space. This property returns the center for arcs and circles and Nothing if the curve does not have a center.
Color Gets and sets the color for the curve.
CurveType Property that returns the type of the underlying curve geometry that this curve is defined by.
EdgeType Property that returns the edge type of this curve. Possible return values are kThreadEdge, kBendUpEdge, kBendDownEdge, kBendExtentEdge, kPunchDownEdge, kPunchUpEdge, kTangentEdge, kContourRollEdge, and kUnknownEdge.
EndPoint Property that returns the end point of the curve in sheet space. This property returns Nothing for circular curves.
Evaluator2D Property that returns the Curve2dEvaluator object for this curve in sheet space.
Evaluator3D Property that returns the CurveEvaluator object for this curve in 3d model view space.
LineType Gets and sets the line type override for the curve.
LineWeight Gets and sets the line weight override for the curve.
MidPoint Property that returns the mid point of the curve in sheet space. This property returns the mid point for linear curves and arcs.
ModelGeometry Property that returns the corresponding geometry from the model. This property returns Nothing in the case the model is not available.
Parent Property that returns the parent drawing view of the curve.
ProjectedCurveType Property that returns the curve type of the drawing curve projected onto the sheet. For instance, if a circular drawing curve shows up as a linear curve on the sheet, this property returns kLineSegmentCurve2d.
Segments Property that returns the collection of the selectable segments representing this curve.
StartPoint Property that returns the start point of the curve in sheet space. This property returns Nothing for circular curves.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

BendNote.BendEdge, DetailDrawingView.AuxiliaryOrientationEdge, DrawingCurveSegment.Parent, DrawingCurvesEnumerator.Item, DrawingView.AuxiliaryOrientationEdge, SectionDrawingView.AuxiliaryOrientationEdge

Samples

Name Description
Creation a balloon This sample demonstrates the creation of a balloon.
Baseline dimension sets This sample demonstrates the creation of a baseline set dimension in a drawing.
Create bend note This sample demonstrates the creation of a bend note on the drawing view of a flat pattern.
Chain dimensions sets This sample demonstrates the creation of a chain dimension set in a drawing.
Create thread note This sample demonstrates the creation of a thread note on a drawing view.
create punch note This sample demonstrates the creation of a punch note on the drawing view of a flat pattern.
Create sketched symbol and leader This sample illustrates creating sketched symbol with a leader.

Version

Introduced in version 11

Was this information helpful?