<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Drawing Polygons: Octagon, Hexagon, etc in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884067#M27584</link>
    <description>So I need to write a code that can draw an octagon and/or hexagon .. I'd imagine getting the code right for one would be able to be manipulated to draw the other&lt;BR /&gt;
&lt;BR /&gt;
Researching through these boards, I found this bit of code from Josh ... but I'm having unfortunate results ... is this still the best accepted way of drawing a polygon?  Please advise!&lt;BR /&gt;
&lt;BR /&gt;
User will give the width (height = width), I can specify the number of legs ... just unsure of which route to go or how to go about tackling this monster!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you much!&lt;BR /&gt;
Ryne&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
... here is josh's suggestion for drawing polygons that hasn't worked, if this is still the best way of drawing a polygon, let me know and i will try further to manipulate this code for my use - thanks!!!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Here's a snip of how to use it:&lt;BR /&gt;
&lt;BR /&gt;
Set Hex = Blk.AddLightWeightPolyline(CalculatePolygon(InstPt, 6, 1, &lt;BR /&gt;
HexDia / 2, 90))&lt;BR /&gt;
&lt;BR /&gt;
And the function is below. Watch for wordwrap.&lt;BR /&gt;
-Josh&lt;BR /&gt;
&lt;BR /&gt;
'creates the verteces list (an array of doubles representing two-element &lt;BR /&gt;
points) for a defined polygon&lt;BR /&gt;
'provides the ability to create the polygon in a block or paperspace as &lt;BR /&gt;
well as modelspace&lt;BR /&gt;
Function CalculatePolygon(Inst As Variant, Num As Integer, Circ As &lt;BR /&gt;
Integer, Rad As Double, Optional Ang As Double) As Variant&lt;BR /&gt;
'where Inst is the insertion point,&lt;BR /&gt;
'Num is the number of sides,&lt;BR /&gt;
'Circ defines whether the polygon is inscribed or circumscribed&lt;BR /&gt;
'Rad is the Radius of the circle,&lt;BR /&gt;
'and Ang is the optional rotation angle, default will be 0#&lt;BR /&gt;
Dim PP As Variant, I As Integer&lt;BR /&gt;
Dim PP2 As Variant, Vertece As Variant&lt;BR /&gt;
Dim Lin As AcadLine&lt;BR /&gt;
Dim Base As Double, Hypotenuse As Double&lt;BR /&gt;
Dim VerteceCount As Integer&lt;BR /&gt;
VerteceCount = Num * 2 - 1&lt;BR /&gt;
Dim Vray() As Double&lt;BR /&gt;
ReDim Vray(0 To VerteceCount) As Double&lt;BR /&gt;
Dim Degs As Double, ConAng As Double&lt;BR /&gt;
Degs = 360 / Num&lt;BR /&gt;
Dim Poly As AcadLWPolyline&lt;BR /&gt;
PP = ThisDrawing.Utility.PolarPoint(Inst, Radians(Ang), Rad)&lt;BR /&gt;
If Circ = acInscribed Then&lt;BR /&gt;
Vray(0) = PP(0): Vray(1) = PP(1)&lt;BR /&gt;
For I = 1 To (Num - 1)&lt;BR /&gt;
Ang = Ang + Degs&lt;BR /&gt;
Vertece = ThisDrawing.Utility.PolarPoint(Inst, Radians(Ang), Rad)&lt;BR /&gt;
Vray(I * 2) = Vertece(0): Vray(I * 2 + 1) = Vertece(1)&lt;BR /&gt;
Next I&lt;BR /&gt;
ElseIf Circ = acCircumscribed Then&lt;BR /&gt;
ConAng = 360 / (Num * 2)&lt;BR /&gt;
For I = 1 To Num&lt;BR /&gt;
Ang = Ang + Degs&lt;BR /&gt;
PP2 = ThisDrawing.Utility.PolarPoint(Inst, Radians(Ang), Rad)&lt;BR /&gt;
Set Lin = ThisDrawing.ModelSpace.AddLine(PP2, PP)&lt;BR /&gt;
Base = Lin.Length / 2&lt;BR /&gt;
Hypotenuse = Base / Cos(Radians(ConAng))&lt;BR /&gt;
Vertece = ThisDrawing.Utility.PolarPoint(PP2, Radians(ConAng) + &lt;BR /&gt;
Lin.Angle, Hypotenuse)&lt;BR /&gt;
Lin.Delete&lt;BR /&gt;
Vray((I * 2) - 2) = Vertece(0): Vray((I * 2) - 1) = Vertece(1)&lt;BR /&gt;
PP(0) = PP2(0): PP(1) = PP2(1)&lt;BR /&gt;
Next I&lt;BR /&gt;
End If&lt;BR /&gt;
CalculatePolygon = Vray&lt;BR /&gt;
End Function</description>
    <pubDate>Wed, 07 Feb 2007 19:38:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-02-07T19:38:45Z</dc:date>
    <item>
      <title>Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884067#M27584</link>
      <description>So I need to write a code that can draw an octagon and/or hexagon .. I'd imagine getting the code right for one would be able to be manipulated to draw the other&lt;BR /&gt;
&lt;BR /&gt;
Researching through these boards, I found this bit of code from Josh ... but I'm having unfortunate results ... is this still the best accepted way of drawing a polygon?  Please advise!&lt;BR /&gt;
&lt;BR /&gt;
User will give the width (height = width), I can specify the number of legs ... just unsure of which route to go or how to go about tackling this monster!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you much!&lt;BR /&gt;
Ryne&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
... here is josh's suggestion for drawing polygons that hasn't worked, if this is still the best way of drawing a polygon, let me know and i will try further to manipulate this code for my use - thanks!!!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Here's a snip of how to use it:&lt;BR /&gt;
&lt;BR /&gt;
Set Hex = Blk.AddLightWeightPolyline(CalculatePolygon(InstPt, 6, 1, &lt;BR /&gt;
HexDia / 2, 90))&lt;BR /&gt;
&lt;BR /&gt;
And the function is below. Watch for wordwrap.&lt;BR /&gt;
-Josh&lt;BR /&gt;
&lt;BR /&gt;
'creates the verteces list (an array of doubles representing two-element &lt;BR /&gt;
points) for a defined polygon&lt;BR /&gt;
'provides the ability to create the polygon in a block or paperspace as &lt;BR /&gt;
well as modelspace&lt;BR /&gt;
Function CalculatePolygon(Inst As Variant, Num As Integer, Circ As &lt;BR /&gt;
Integer, Rad As Double, Optional Ang As Double) As Variant&lt;BR /&gt;
'where Inst is the insertion point,&lt;BR /&gt;
'Num is the number of sides,&lt;BR /&gt;
'Circ defines whether the polygon is inscribed or circumscribed&lt;BR /&gt;
'Rad is the Radius of the circle,&lt;BR /&gt;
'and Ang is the optional rotation angle, default will be 0#&lt;BR /&gt;
Dim PP As Variant, I As Integer&lt;BR /&gt;
Dim PP2 As Variant, Vertece As Variant&lt;BR /&gt;
Dim Lin As AcadLine&lt;BR /&gt;
Dim Base As Double, Hypotenuse As Double&lt;BR /&gt;
Dim VerteceCount As Integer&lt;BR /&gt;
VerteceCount = Num * 2 - 1&lt;BR /&gt;
Dim Vray() As Double&lt;BR /&gt;
ReDim Vray(0 To VerteceCount) As Double&lt;BR /&gt;
Dim Degs As Double, ConAng As Double&lt;BR /&gt;
Degs = 360 / Num&lt;BR /&gt;
Dim Poly As AcadLWPolyline&lt;BR /&gt;
PP = ThisDrawing.Utility.PolarPoint(Inst, Radians(Ang), Rad)&lt;BR /&gt;
If Circ = acInscribed Then&lt;BR /&gt;
Vray(0) = PP(0): Vray(1) = PP(1)&lt;BR /&gt;
For I = 1 To (Num - 1)&lt;BR /&gt;
Ang = Ang + Degs&lt;BR /&gt;
Vertece = ThisDrawing.Utility.PolarPoint(Inst, Radians(Ang), Rad)&lt;BR /&gt;
Vray(I * 2) = Vertece(0): Vray(I * 2 + 1) = Vertece(1)&lt;BR /&gt;
Next I&lt;BR /&gt;
ElseIf Circ = acCircumscribed Then&lt;BR /&gt;
ConAng = 360 / (Num * 2)&lt;BR /&gt;
For I = 1 To Num&lt;BR /&gt;
Ang = Ang + Degs&lt;BR /&gt;
PP2 = ThisDrawing.Utility.PolarPoint(Inst, Radians(Ang), Rad)&lt;BR /&gt;
Set Lin = ThisDrawing.ModelSpace.AddLine(PP2, PP)&lt;BR /&gt;
Base = Lin.Length / 2&lt;BR /&gt;
Hypotenuse = Base / Cos(Radians(ConAng))&lt;BR /&gt;
Vertece = ThisDrawing.Utility.PolarPoint(PP2, Radians(ConAng) + &lt;BR /&gt;
Lin.Angle, Hypotenuse)&lt;BR /&gt;
Lin.Delete&lt;BR /&gt;
Vray((I * 2) - 2) = Vertece(0): Vray((I * 2) - 1) = Vertece(1)&lt;BR /&gt;
PP(0) = PP2(0): PP(1) = PP2(1)&lt;BR /&gt;
Next I&lt;BR /&gt;
End If&lt;BR /&gt;
CalculatePolygon = Vray&lt;BR /&gt;
End Function</description>
      <pubDate>Wed, 07 Feb 2007 19:38:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884067#M27584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-07T19:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884068#M27585</link>
      <description>Hi Ryne&lt;BR /&gt;
Give this a try&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~'&lt;BR /&gt;
Function PolygonVexs(cenPt As Variant, iNum As Integer, _&lt;BR /&gt;
         dblRad As Double, Optional mode As Integer = 0) As Variant&lt;BR /&gt;
Dim tmpPt As Variant&lt;BR /&gt;
Dim iCnt As Integer&lt;BR /&gt;
Dim vCnt As Integer&lt;BR /&gt;
Dim vxCnt As Integer&lt;BR /&gt;
Dim PI As Double&lt;BR /&gt;
PI = Atn(1) * 4&lt;BR /&gt;
Dim dltAng As Double&lt;BR /&gt;
Dim dblAng As Double&lt;BR /&gt;
&lt;BR /&gt;
dltAng = 2 * PI / iNum&lt;BR /&gt;
vxCnt = 2 * iNum - 1&lt;BR /&gt;
iCnt = 0&lt;BR /&gt;
vCnt = 0&lt;BR /&gt;
ReDim ptsarr(0 To vxCnt) As Double&lt;BR /&gt;
If mode = 0 Then dblRad = dblRad / Cos(dltAng / 2)&lt;BR /&gt;
While iCnt &amp;lt; iNum&lt;BR /&gt;
dblAng = dltAng * iCnt&lt;BR /&gt;
tmpPt = ThisDrawing.Utility.PolarPoint(cenPt, dblAng, dblRad)&lt;BR /&gt;
iCnt = iCnt + 1&lt;BR /&gt;
ptsarr(vCnt) = tmpPt(0): ptsarr(vCnt + 1) = tmpPt(1)&lt;BR /&gt;
vCnt = vCnt + 2&lt;BR /&gt;
Wend&lt;BR /&gt;
PolygonVexs = ptsarr&lt;BR /&gt;
End Function&lt;BR /&gt;
&lt;BR /&gt;
'~~~~~~~~~~~~~~~~~~~~~'&lt;BR /&gt;
Sub drawPolygon()&lt;BR /&gt;
Dim oPline As AcadLWPolyline&lt;BR /&gt;
Dim cenPt(2) As Double&lt;BR /&gt;
Dim iNum As Integer&lt;BR /&gt;
Dim dblAng As Double&lt;BR /&gt;
Dim dblRad As Double&lt;BR /&gt;
iNum = 8&lt;BR /&gt;
dblRad = 10#&lt;BR /&gt;
cenPt(0) = 0: cenPt(1) = 0: cenPt(2) = 0&lt;BR /&gt;
' draw Inscribed polygon:&lt;BR /&gt;
Set oPline = ThisDrawing.ModelSpace.AddLightWeightPolyline _&lt;BR /&gt;
(PolygonVexs(cenPt, 8, 10#, 1))&lt;BR /&gt;
' draw Circumscribed polygon:&lt;BR /&gt;
'Set oPline = ThisDrawing.ModelSpace.AddLightWeightPolyline _&lt;BR /&gt;
'(PolygonVexs(cenPt, 8, 10#, 0))&lt;BR /&gt;
'or the same&lt;BR /&gt;
'Set oPline = ThisDrawing.ModelSpace.AddLightWeightPolyline _&lt;BR /&gt;
'(PolygonVexs(cenPt, 8, 10#))'&amp;lt;-- optional mode omitted&lt;BR /&gt;
oPline.Closed = True&lt;BR /&gt;
oPline.Update&lt;BR /&gt;
End Sub&lt;BR /&gt;
'~~~~~~~~~~~~~~~~~~~~~~'&lt;BR /&gt;
&lt;BR /&gt;
~'J'~</description>
      <pubDate>Wed, 07 Feb 2007 23:03:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884068#M27585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-07T23:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884069#M27586</link>
      <description>wow that's amazing - really really really thank you!&lt;BR /&gt;
&lt;BR /&gt;
i need to manipulate a few things, so i would be able to set the actual width of the polygon, etc&lt;BR /&gt;
&lt;BR /&gt;
im going to play with the code a little, i may post a question or two here later - but i wanted to post a prompt thank you first</description>
      <pubDate>Thu, 08 Feb 2007 15:35:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884069#M27586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-08T15:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884070#M27587</link>
      <description>Sorry, Ryne&lt;BR /&gt;
I do not understood your question, &lt;BR /&gt;
my english level not so good as your...&lt;BR /&gt;
Explain me little more or upload some&lt;BR /&gt;
picture (bmp or dwg) with explanations&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
~'J'~</description>
      <pubDate>Thu, 08 Feb 2007 15:43:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884070#M27587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-08T15:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884071#M27588</link>
      <description>does this help you??</description>
      <pubDate>Thu, 08 Feb 2007 15:59:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884071#M27588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-08T15:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884072#M27589</link>
      <description>I see it,&lt;BR /&gt;
I'll add some lines to the code by&lt;BR /&gt;
your needs&lt;BR /&gt;
&lt;BR /&gt;
Later,&lt;BR /&gt;
&lt;BR /&gt;
~'J'~</description>
      <pubDate>Thu, 08 Feb 2007 16:36:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884072#M27589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-08T16:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884073#M27590</link>
      <description>Give it a whirl,&lt;BR /&gt;
hope it will works as you want&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'&lt;BR /&gt;
Function PolygonVexs(cenPt As Variant, iNum As Integer, _&lt;BR /&gt;
                     dblRad As Double, Optional mode As Integer = 0) As Variant&lt;BR /&gt;
&lt;BR /&gt;
     Dim tmpPt As Variant&lt;BR /&gt;
     Dim iCnt As Integer&lt;BR /&gt;
     Dim vCnt As Integer&lt;BR /&gt;
     Dim vxCnt As Integer&lt;BR /&gt;
     Dim PI As Double&lt;BR /&gt;
     PI = Atn(1) * 4&lt;BR /&gt;
     Dim dltAng As Double&lt;BR /&gt;
     Dim dblAng As Double&lt;BR /&gt;
     Dim initAng As Double&lt;BR /&gt;
&lt;BR /&gt;
     dltAng = 2 * PI / iNum&lt;BR /&gt;
     initAng = dltAng / 2&lt;BR /&gt;
     vxCnt = 2 * iNum - 1&lt;BR /&gt;
     iCnt = 0&lt;BR /&gt;
     vCnt = 0&lt;BR /&gt;
     ReDim ptsarr(0 To vxCnt) As Double&lt;BR /&gt;
     If mode = 0 Then dblRad = dblRad / Cos(dltAng / 2)&lt;BR /&gt;
     While iCnt &amp;lt; iNum&lt;BR /&gt;
          dblAng = initAng + dltAng * iCnt&lt;BR /&gt;
          tmpPt = ThisDrawing.Utility.PolarPoint(cenPt, dblAng, dblRad)&lt;BR /&gt;
          iCnt = iCnt + 1&lt;BR /&gt;
          ptsarr(vCnt) = tmpPt(0): ptsarr(vCnt + 1) = tmpPt(1)&lt;BR /&gt;
          vCnt = vCnt + 2&lt;BR /&gt;
     Wend&lt;BR /&gt;
&lt;BR /&gt;
     PolygonVexs = ptsarr&lt;BR /&gt;
End Function&lt;BR /&gt;
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'&lt;BR /&gt;
Sub drawPolygon()&lt;BR /&gt;
&lt;BR /&gt;
     Dim oPline As AcadLWPolyline&lt;BR /&gt;
     Dim cenPt As Variant&lt;BR /&gt;
     Dim iNum As Integer&lt;BR /&gt;
     Dim dblAng As Double&lt;BR /&gt;
     Dim dblRad As Double&lt;BR /&gt;
     cenPt = ThisDrawing.Utility.GetPoint(, vbCr &amp;amp; "Pick center point of polygon")&lt;BR /&gt;
     iNum = CInt(InputBox(vbNewLine &amp;amp; "Enter number of polygon sides:", _&lt;BR /&gt;
                          "Parameter Input", 8))&lt;BR /&gt;
     dblRad = CDbl(InputBox(vbNewLine &amp;amp; "Enter the actual size of polygon:", _&lt;BR /&gt;
                            "Parameter Input", 20)) / 2&lt;BR /&gt;
     ' draw Circumscribed polygon:&lt;BR /&gt;
     Set oPline = ThisDrawing.ModelSpace.AddLightWeightPolyline _&lt;BR /&gt;
                  (PolygonVexs(cenPt, iNum, dblRad))&lt;BR /&gt;
     oPline.ConstantWidth = 0.25&lt;BR /&gt;
     oPline.Layer = "0"&lt;BR /&gt;
     oPline.color = acYellow&lt;BR /&gt;
     oPline.Closed = True&lt;BR /&gt;
     oPline.Update&lt;BR /&gt;
&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
~'J'~</description>
      <pubDate>Thu, 08 Feb 2007 17:19:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884073#M27590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-08T17:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884074#M27591</link>
      <description>YOU&lt;BR /&gt;
ARE&lt;BR /&gt;
AMAZING!!</description>
      <pubDate>Thu, 08 Feb 2007 17:29:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884074#M27591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-08T17:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884075#M27592</link>
      <description>still on point for hexagon?&lt;BR /&gt;
&lt;BR /&gt;
I can have two functions, one for hexagon (6), one for octagon(8) as long as I can declare the actual size&lt;BR /&gt;
&lt;BR /&gt;
Can you add in "actual size" to old code?</description>
      <pubDate>Thu, 08 Feb 2007 17:31:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884075#M27592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-08T17:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Polygons: Octagon, Hexagon, etc</title>
      <link>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884076#M27593</link>
      <description>Ryne,&lt;BR /&gt;
Start from this sample, then&lt;BR /&gt;
change TextBox1 on ComboBox2&lt;BR /&gt;
and fill it with desired actual sizes&lt;BR /&gt;
as I did it with ComboBox1, see code&lt;BR /&gt;
Hth&lt;BR /&gt;
&lt;BR /&gt;
~'J'~</description>
      <pubDate>Thu, 08 Feb 2007 18:19:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/drawing-polygons-octagon-hexagon-etc/m-p/1884076#M27593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-08T18:19:59Z</dc:date>
    </item>
  </channel>
</rss>

