Obsolete. Superseded by ISketchManager::CreatePolygon.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SketchPolygon( _
ByVal XCenter As System.Double, _
ByVal YCenter As System.Double, _
ByVal XEdge As System.Double, _
ByVal YEdge As System.Double, _
ByVal NSides As System.Integer, _
ByVal BInscribed As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim XCenter As System.Double
Dim YCenter As System.Double
Dim XEdge As System.Double
Dim YEdge As System.Double
Dim NSides As System.Integer
Dim BInscribed As System.Boolean
Dim value As System.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