InsertCircle Method (ISketchManager)

InsertCircle Method (ISketchManager) | Send Feedback
See Also Example

Circle[out]
  Circle

CenterX
  x coordinate for the center point of the Circle

CenterY
  y coordinate for the center point of the Circle

CenterZ
  z coordinate for the center point of the Circle

Radius
  Radius of Circle

Constructs a Circle.

# Syntax

Visual Basic |
--- | ---
    Function InsertCircle( _
       ByVal CenterX As System.Double, _
       ByVal CenterY As System.Double, _
       ByVal CenterZ As System.Double, _
       ByVal Radius As System.Double _
    ) As Circle

C# |
--- | ---
    Circle InsertCircle(
       System.double CenterX,
       System.double CenterY,
       System.double CenterZ,
       System.double Radius
    )

JavaScript |
--- | ---
    InsertCircle(
       CenterX : Number,
       CenterY : Number,
       CenterZ : Number,
       Radius : Number
    ) : dsCircle

COM native C++ |
--- | ---
    HRESULT InsertCircle(
       DOUBLE CenterX,
       DOUBLE CenterY,
       DOUBLE CenterZ,
       DOUBLE Radius,
       ICircle** Circle
    )

C++ |
--- | ---
    DSRESULT InsertCircle(
       double CenterX,
       double CenterY,
       double CenterZ,
       double Radius,
       dsCircle** Circle
    )

#### Parameters

CenterX
  x coordinate for the center point of the Circle
CenterY
  y coordinate for the center point of the Circle
CenterZ
  z coordinate for the center point of the Circle
Radius
  Radius of Circle
Circle[out] or Return Value
  Circle

# Example

Construct Circle (C#)
Construct Circle (VB.NET)
Construct Circle (VBA)
Create Aligned Linear and Ordinate Dimensions (C#)
Create Aligned Linear and Ordinate Dimensions (VB.NET)
Create Aligned Linear and Ordinate Dimensions (VBA)
Create Circles on Different Layers (JavaScript)
Insert Block, Notes, and Sketch Entities (JavaScript)
Add and Modify Custom Data (JavaScript)

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::InsertCircleBy3Points Method
ISketchManager::InsertCircleByDiameter Method

# Availability

DraftSight V1R1.1