<?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 Re: Polylines to Circles Program in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12790001#M13642</link>
    <description>&lt;P&gt;AutoCAD says unknown command "acet-ent-geomextents"&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 12:56:09 GMT</pubDate>
    <dc:creator>bemmer7MZ3G</dc:creator>
    <dc:date>2024-05-22T12:56:09Z</dc:date>
    <item>
      <title>Polylines to Circles Program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12789913#M13640</link>
      <description>&lt;P&gt;I work with these logos which have holes for electrical to run through, these need to match to the real part which is already manufactured. They send me the letters with the hole patterns like the attached file, but it is coming from Revit so I never get the holes as circles, which I need to program my CNC. I need a script that looks at those polygons and converts them to circles, and it would be preferable if I could select all the holes at once. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 12:22:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12789913#M13640</guid>
      <dc:creator>bemmer7MZ3G</dc:creator>
      <dc:date>2024-05-22T12:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Polylines to Circles Program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12789991#M13641</link>
      <description>&lt;P&gt;To code it yourself,&lt;/P&gt;&lt;P&gt;1)Get a selection set of polylines.&lt;/P&gt;&lt;P&gt;2)For each polyline in the set,&lt;/P&gt;&lt;P&gt;&amp;nbsp; a)find it's GCE using OSNAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp; b)find it's extents using acet-ent-geomextents&lt;/P&gt;&lt;P&gt;&amp;nbsp; c)determine the diameter from either the minimum, maximum, or average width/height from the extents.&lt;/P&gt;&lt;P&gt;&amp;nbsp; d)draw the circle using the GCE as its center and diameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp; e)delete the polyline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you already know the radii and just want to replace them process the selection set by drawing the circles from the GCE and the radii you already know.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 12:53:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12789991#M13641</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2024-05-22T12:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Polylines to Circles Program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12790001#M13642</link>
      <description>&lt;P&gt;AutoCAD says unknown command "acet-ent-geomextents"&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 12:56:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12790001#M13642</guid>
      <dc:creator>bemmer7MZ3G</dc:creator>
      <dc:date>2024-05-22T12:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Polylines to Circles Program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12790065#M13643</link>
      <description>&lt;P&gt;You don't have Express Tools installed... That's why error message... But you have alternative through Visual LISP :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(vl-load-com)&lt;/P&gt;&lt;P&gt;(vla-getboundingbox (vlax-ename-&amp;gt;vla-object ent) (quote ll) (quote ur))&lt;/P&gt;&lt;P&gt;(mapcar (function set) (list (quote ll) (quote ur)) (list ll ur))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you have ent extends - those are points : ll and ur...&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 13:18:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12790065#M13643</guid>
      <dc:creator>marko_ribar</dc:creator>
      <dc:date>2024-05-22T13:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Polylines to Circles Program</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12790840#M13644</link>
      <description>&lt;P&gt;You can use the &lt;STRONG&gt;Pg2C&lt;/STRONG&gt; command defined in &lt;STRONG&gt;PolygonToCircle2.lsp&lt;/STRONG&gt;, attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They're not regular enough for my other routine, PolygonToCircle.lsp, but this one was made to do it in a different way that allows them to be irregular.&amp;nbsp; See the comments at the top of the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can select as many as you want at once, but &lt;EM&gt;don't&lt;/EM&gt; include in the selection Polylines other than those you want made into Circles [such as the letters or the diamond shapes in the logo], because it will work on those, too.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 18:20:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polylines-to-circles-program/m-p/12790840#M13644</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-05-22T18:20:40Z</dc:date>
    </item>
  </channel>
</rss>

