Creates an ellipse using the specified center, major-axis, and minor-axis points.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateEllipse( _
ByVal XC As System.Double, _
ByVal YC As System.Double, _
ByVal Zc As System.Double, _
ByVal XMajor As System.Double, _
ByVal YMajor As System.Double, _
ByVal ZMajor As System.Double, _
ByVal XMinor As System.Double, _
ByVal YMinor As System.Double, _
ByVal ZMinor As System.Double _
) As SketchSegment |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim XC As System.Double
Dim YC As System.Double
Dim Zc As System.Double
Dim XMajor As System.Double
Dim YMajor As System.Double
Dim ZMajor As System.Double
Dim XMinor As System.Double
Dim YMinor As System.Double
Dim ZMinor As System.Double
Dim value As SketchSegment
value = instance.CreateEllipse(XC, YC, Zc, XMajor, YMajor, ZMajor, XMinor, YMinor, ZMinor) |
C# | |
---|
SketchSegment CreateEllipse(
System.double XC,
System.double YC,
System.double Zc,
System.double XMajor,
System.double YMajor,
System.double ZMajor,
System.double XMinor,
System.double YMinor,
System.double ZMinor
) |
C++/CLI | |
---|
SketchSegment^ CreateEllipse(
& System.double XC,
& System.double YC,
& System.double Zc,
& System.double XMajor,
& System.double YMajor,
& System.double ZMajor,
& System.double XMinor,
& System.double YMinor,
& System.double ZMinor
) |
Parameters
- XC
- X coordinate of the ellipse center point
- YC
- Y coordinate of the ellipse center point
- Zc
- Z coordinate of the ellipse center point
- XMajor
- X coordinate of the point on the ellipse that is on the major axis
- YMajor
- Y coordinate of the point on the ellipse that is on the major axis
- ZMajor
- Z coordinate of the point on the ellipse that is on the major axis
- XMinor
- X coordinate of the point on the ellipse that is on the minor axis
- YMinor
- Y coordinate of the point on the ellipse that is on the minor axis
- ZMinor
- Z coordinate of the point on the ellipse that is on the minor axis
Return Value
Sketch segment for the ellipse
Example
Remarks
See Also
Availability
SOLIDWORKS 2008 FCS, Revision Number 16.0