Obsolete. Superseded by ISketchManager::CreatePolygon.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SketchPolygon( _
ByVal XCenter As Double, _
ByVal YCenter As Double, _
ByVal XEdge As Double, _
ByVal YEdge As Double, _
ByVal NSides As Integer, _
ByVal BInscribed As Boolean _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim XCenter As Double
Dim YCenter As Double
Dim XEdge As Double
Dim YEdge As Double
Dim NSides As Integer
Dim BInscribed As Boolean
Dim value As Boolean
value = instance.SketchPolygon(XCenter, YCenter, XEdge, YEdge, NSides, BInscribed)
|
Parameters
- XCenter
X component of the polygon's center
- YCenter
Y component of the polygon's center
- XEdge
X component of the first vertex on the polygon
- YEdge
Y component of the first vertex on the polygon
- NSides
Number of sides for the polygon
- BInscribed
True to show an inscribed construction circle, false to show a circumscribed construction circle
Return Value
True if polygon created, false if not
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0