Creates an arc based on a center point, a start, end point, and a direction.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateArc( _
ByVal XC As Double, _
ByVal YC As Double, _
ByVal Zc As Double, _
ByVal X1 As Double, _
ByVal Y1 As Double, _
ByVal Z1 As Double, _
ByVal X2 As Double, _
ByVal Y2 As Double, _
ByVal Z2 As Double, _
ByVal Direction As Short _
) As SketchSegment |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim XC As Double
Dim YC As Double
Dim Zc As Double
Dim X1 As Double
Dim Y1 As Double
Dim Z1 As Double
Dim X2 As Double
Dim Y2 As Double
Dim Z2 As Double
Dim Direction As Short
Dim value As SketchSegment
value = instance.CreateArc(XC, YC, Zc, X1, Y1, Z1, X2, Y2, Z2, Direction)
|
C# | |
---|
SketchSegment CreateArc(
double XC,
double YC,
double Zc,
double X1,
double Y1,
double Z1,
double X2,
double Y2,
double Z2,
short Direction
) |
C++/CLI | |
---|
SketchSegment^ CreateArc(
& double XC,
& double YC,
& double Zc,
& double X1,
& double Y1,
& double Z1,
& double X2,
& double Y2,
& double Z2,
& short Direction
) |
Parameters
- XC
- X coordinate of the circle center point in meters
- YC
- coordinate of the circle center point in meters
- Zc
Z coordinate of the circle center point in meters
- X1
- X coordinate of the start point of the arc in meters
- Y1
- coordinate of the start point of the arc in meters
- Z1
- Z coordinate of the start point of the arc in meters
- X2
X coordinate of the end point of the arc in meters
- Y2
Y coordinate of the end point of the arc in meters
- Z2
- coordinate of the end point of the arc in meters
- Direction
-
+1 : Go from the start point to the end point in a counter-clockwise direction
-
-1 : Go from the start point to the end point in a clockwise direction
Return Value
Sketch segment for the arc
Remarks
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0