InsertArc Method (ISketchManager)

InsertArc Method (ISketchManager) | Send Feedback
See Also Example

CircleArc[out]
  Arc

CenterX
  x coordinate for the center point of the Arc

CenterY
  y coordinate for the center point of the Arc

CenterZ
  z coordinate for the center point of the Arc

Radius
  Radius of Arc

StartAngle
  Positive or negative value of the angle from the chord tangent to the start point in radians

EndAngle
  Positive or negative value of the angle from the chord tangent to the end point in radians

Constructs an Arc.

# Syntax

Visual Basic |
--- | ---
    Function InsertArc( _
       ByVal CenterX As System.Double, _
       ByVal CenterY As System.Double, _
       ByVal CenterZ As System.Double, _
       ByVal Radius As System.Double, _
       ByVal StartAngle As System.Double, _
       ByVal EndAngle As System.Double _
    ) As CircleArc

C# |
--- | ---
    CircleArc InsertArc(
       System.double CenterX,
       System.double CenterY,
       System.double CenterZ,
       System.double Radius,
       System.double StartAngle,
       System.double EndAngle
    )

JavaScript |
--- | ---
    InsertArc(
       CenterX : Number,
       CenterY : Number,
       CenterZ : Number,
       Radius : Number,
       StartAngle : Number,
       EndAngle : Number
    ) : dsCircleArc

COM native C++ |
--- | ---
    HRESULT InsertArc(
       DOUBLE CenterX,
       DOUBLE CenterY,
       DOUBLE CenterZ,
       DOUBLE Radius,
       DOUBLE StartAngle,
       DOUBLE EndAngle,
       ICircleArc** CircleArc
    )

C++ |
--- | ---
    DSRESULT InsertArc(
       double CenterX,
       double CenterY,
       double CenterZ,
       double Radius,
       double StartAngle,
       double EndAngle,
       dsCircleArc** CircleArc
    )

#### Parameters

CenterX
  x coordinate for the center point of the Arc
CenterY
  y coordinate for the center point of the Arc
CenterZ
  z coordinate for the center point of the Arc
Radius
  Radius of Arc
StartAngle
  Positive or negative value of the angle from the chord tangent to the start point in radians
EndAngle
  Positive or negative value of the angle from the chord tangent to the end point in radians
CircleArc[out] or Return Value
  Arc

# Example

Construct Arc (C#)
Construct Arc (VB.NET)
Construct Arc (VBA)
Insert and Dimension Sketch (JavaScript)
Mirror Entities (JavaScript)

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::InsertArcByCenter2Points2 Method
ISketchManager::InsertArcBy3Points Method

# Availability

DraftSight V1R1.1