<?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 Create a Boundary around a set of disconnected polyline objects in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12931186#M10841</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I design irrigation in and around landscape beds for large gated communities. Often, when we recieve the plans for the landscape beds, instead of getting a plan showing the edges of each landscape bed, we get a plan showing the segments of each bed where different plants are grouped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Terence3YCFB_0-1722435959776.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1392938i3D98ACD314153423/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Terence3YCFB_0-1722435959776.png" alt="Terence3YCFB_0-1722435959776.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been tasked with simplifying these beds, to show a continuous plant bed edge, regardless of planting segments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attempting to use Boundry and have had some luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im using exoffset to overlap the segments before using boundry, but the issue im running in to is exoffset doesnt work on closed polylines that overlap themselves, and boundry doesnt work consistently on large selections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;am I over complicating this? there must be a way to manipulate tolerances for the Boundry command. In this example, each planting segment is separated 6" off of the adjacent segment. but it isn't quite uniform. if i could just set a 1' tolerance I could wrap all these pretty easily into each landscape bed through the whole community all at once....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated tremendously...&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 14:28:07 GMT</pubDate>
    <dc:creator>Terence3YCFB</dc:creator>
    <dc:date>2024-07-31T14:28:07Z</dc:date>
    <item>
      <title>Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12931186#M10841</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I design irrigation in and around landscape beds for large gated communities. Often, when we recieve the plans for the landscape beds, instead of getting a plan showing the edges of each landscape bed, we get a plan showing the segments of each bed where different plants are grouped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Terence3YCFB_0-1722435959776.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1392938i3D98ACD314153423/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Terence3YCFB_0-1722435959776.png" alt="Terence3YCFB_0-1722435959776.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been tasked with simplifying these beds, to show a continuous plant bed edge, regardless of planting segments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attempting to use Boundry and have had some luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im using exoffset to overlap the segments before using boundry, but the issue im running in to is exoffset doesnt work on closed polylines that overlap themselves, and boundry doesnt work consistently on large selections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;am I over complicating this? there must be a way to manipulate tolerances for the Boundry command. In this example, each planting segment is separated 6" off of the adjacent segment. but it isn't quite uniform. if i could just set a 1' tolerance I could wrap all these pretty easily into each landscape bed through the whole community all at once....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated tremendously...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 14:28:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12931186#M10841</guid>
      <dc:creator>Terence3YCFB</dc:creator>
      <dc:date>2024-07-31T14:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12931261#M10842</link>
      <description>&lt;P&gt;I hope I'm not over explaining... I'm just trying to turn each group of Landscape Plantings into one large Landscape bed without having to draw and form a polyline around them... it would save me hours every day.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 14:56:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12931261#M10842</guid>
      <dc:creator>Terence3YCFB</dc:creator>
      <dc:date>2024-07-31T14:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12932145#M10843</link>
      <description>&lt;P&gt;There is a create boundary software out there, which may do what you want, it is not free. Trying to find it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe try&amp;nbsp;&lt;A href="https://www.lee-mac.com/outlineobjects.html" target="_blank"&gt;Outline Objects | Lee Mac Programming (lee-mac.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 22:48:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12932145#M10843</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2024-07-31T22:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12932146#M10844</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12035551"&gt;@Terence3YCFB&lt;/a&gt;&amp;nbsp; You're not over explaining. How I've done this in the past is to offset the boundaries outward, convert to region then union. It works pretty well but unfortunately in that drawing you posted many of those objects throw an error when offsetting out. Here's some code modified from &lt;A href="https://www.cadtutor.net/forum/topic/69706-routine-for-buffer/#comment-561009" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;this&lt;/STRONG&gt;&lt;/A&gt; old post you can try out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;(defun c:foo (/ _getbiggest ad l of r r2 s s2 sp)
  ;; RJP » 2024-07-31
  (defun _getbiggest (o d / _off l r)
    (defun _off	(o d / r)
      (if (= 'list (type (setq r (vl-catch-all-apply 'vlax-invoke (list o 'offset d)))))
	r
      )
    )
    (cond ((setq r (append (_off o d) (_off o (- d))))
	   (setq l (vl-sort r '(lambda (r j) (&amp;gt; (vla-get-area r) (vla-get-area j)))))
	   (mapcar 'vla-delete (cdr l))
	   (car l)
	  )
    )
  )
  (cond
    ((setq s (ssget "_:L" '((0 . "lwpolyline") (8 . "*LP-SHAR-BRDR-CONT") (-4 . "&amp;amp;=") (70 . 1))))
     (foreach e	(vl-remove-if 'listp (mapcar 'cadr (ssnamex s)))
       (and (setq of (_getbiggest (vlax-ename-&amp;gt;vla-object e) 7)) (setq r (cons of r)))
     )
     (setq l "PlantBoundary")
     (setq sp (vla-get-modelspace (setq ad (vla-get-activedocument (vlax-get-acad-object)))))
     (vla-add (vla-get-layers ad) "PlantBoundary")
     (setq r2 (vlax-invoke sp 'addregion r))
     (mapcar 'vla-delete r)
     (setq s2 (ssadd))
     (foreach x r2 (vla-put-layer x l) (ssadd (vlax-vla-object-&amp;gt;ename x) s2))
     (setvar 'cmdecho 0)
     (command "_.union" s2 "")
     (setvar 'cmdecho 1)
    )
  )
  (princ)
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-07-31_16-47-43.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1393118iC0E84B844FAAB1F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-07-31_16-47-43.gif" alt="2024-07-31_16-47-43.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 14:49:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12932146#M10844</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2024-08-01T14:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12933584#M10845</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... How I've done this in the past is to offset the boundaries, &lt;FONT color="#FF0000"&gt;extrude&lt;/FONT&gt; outward, convert to region then union. ... many of those objects throw an error when &lt;FONT color="#FF0000"&gt;extruding&lt;/FONT&gt; out. .....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;[Should be&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;offset&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; instead of &lt;FONT color="#FF0000"&gt;extrude&lt;/FONT&gt;, just so as not to get confused with what AutoCAD means by the word/command EXTRUDE, which is something quite different.]&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 14:33:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12933584#M10845</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-08-01T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12933631#M10846</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... How I've done this in the past is to offset the boundaries, &lt;FONT color="#FF0000"&gt;extrude&lt;/FONT&gt; outward, convert to region then union. ... many of those objects throw an error when &lt;FONT color="#FF0000"&gt;extruding&lt;/FONT&gt; out. .....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;[Should be&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;offset&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; instead of &lt;FONT color="#FF0000"&gt;extrude&lt;/FONT&gt;, just so as not to get confused with what AutoCAD means by the word/command EXTRUDE, which is something quite different.]&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Oops .. changed above. Words incorrect code correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 14:54:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12933631#M10846</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2024-08-01T14:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12934536#M10847</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12035551"&gt;@Terence3YCFB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Are the "planting sections" depicted by the various hatch patterns?&amp;nbsp; Did you have to draw the polylines around the hatch boundaries?&lt;/P&gt;&lt;P&gt;Might you be able to use the -HATCHEDIT command to recreate the hatch boundaries?&lt;/P&gt;&lt;P&gt;OR, I don't know if vanilla AutoCAD or other verticals have it, but Civil3D has a SHRINKWRAP command to draw an exact boundary around a collection of objects.&lt;/P&gt;&lt;P&gt;OR, if the planting plan is outsourced then can't the provider include the hatch boundaries in what he delivers?&amp;nbsp; He had to have had them.&lt;/P&gt;&lt;P&gt;Oh, and what's wrong with the hatches anyway?&amp;nbsp; I especially liked that reverse curvy one.&lt;/P&gt;&lt;P&gt;Also, if their hatch boundaries don't touch or cross themselves (whether they are drawn or not), then the hatches have the area property, if you need that.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 01:38:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12934536#M10847</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-02T01:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12934602#M10848</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please excuse my brain fart, but why do you need to offset?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 00:54:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12934602#M10848</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-02T00:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12934684#M10849</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example boundaries are not close enough together to union together to make an outer boundary so they need to be a little bit bigger for it to work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;Is the official librarian for this forum with his expert contribution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 21:33:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12934684#M10849</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2024-08-02T21:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12936221#M10850</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;"union" doesn't look/sound correct as a verb, mainly because it's a noun.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I think the correct verb should be "unite."&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":man_and_woman_holding_hands:"&gt;👫&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 18:46:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12936221#M10850</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-02T18:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12936797#M10851</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;"union" doesn't look/sound correct as a verb, mainly because it's a noun.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I think the correct verb should be "unite."&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":man_and_woman_holding_hands:"&gt;👫&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My code is concise and I try to describe it as well as I can.&lt;/P&gt;
&lt;P&gt;TBH those previous messages are from my phone and a bit Google-fied.&amp;nbsp;Shall we move on?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 03:49:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12936797#M10851</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2024-08-03T03:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12937219#M10852</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;wrote, "&lt;SPAN&gt;Shall we move on?"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sure, which way are we headed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've been trying an approach to find the boundary around a set of random objects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using boundingbox on each of the selected objects, I derive the Xmin, Ymin, Xmax, and Ymax of the entire set, then create a circle at the midpoint of the opposite corners with a diameter equal to the greater of (- Xmax Xmin) and (- Ymax Ymin).&amp;nbsp; Then, working around the circle one degree at a time, I (ssget "_F" circle to center) and ssnamex to find the closest intersection point, and then connect them all into one polyline.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But it's not working as suspected.&amp;nbsp; From my recent experiences I though that selecting by fence returned an order of the closest point first, so that all you had to do was get the intersection point from (ssnamex ss 0).&amp;nbsp; But that's not apparently working, so I may have to test each point to find which is closest to the circle.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 13:51:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12937219#M10852</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-03T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12937375#M10853</link>
      <description>&lt;P&gt;Forget it.&amp;nbsp; The approach does not work well enough, even after correcting mistakes.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 16:43:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12937375#M10853</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-03T16:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12937446#M10854</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried a variation of my code that offsets inward then uses that object to offset out 2x the distance. It fixes the problem using the command offset but with vla-offset POOF. Unwind exception and CAD explodes.&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-08-03_12-14-08.gif" style="width: 828px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1394071i49F5F1452B7DA5C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-08-03_12-14-08.gif" alt="2024-08-03_12-14-08.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some of those boundaries have many duplicated sections. IMO .. garbage in garbage out.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ronjonp_1-1722708992842.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1394073i7B20BBA31BE4A91E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ronjonp_1-1722708992842.png" alt="ronjonp_1-1722708992842.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 18:16:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12937446#M10854</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2024-08-03T18:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12937751#M10855</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I may have come with an alternate solution:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a circle that surrounds the extents of all the polylines.&lt;/LI&gt;&lt;LI&gt;Hatch (non-associative) by just picking a point inside the circle but outside all the polylines.&lt;/LI&gt;&lt;LI&gt;Use -HATCHEDIT to (re)create the boundaries.&lt;/LI&gt;&lt;LI&gt;Delete the hatch and the circle and its boundary.&lt;/LI&gt;&lt;LI&gt;What's left inside should be the polyline wanted that wraps around the originals.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I can't test it because I have only 2002 without the additional hatch editing options.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 00:59:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12937751#M10855</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-08-04T00:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940373#M10856</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Using boundingbox on each of the selected objects, I derive the Xmin, Ymin, Xmax, and Ymax of the entire set, then create a circle at the midpoint of the opposite corners with a diameter equal to the greater of (- Xmax Xmin) and (- Ymax Ymin).&amp;nbsp; ...&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think that's your problem [or at least one of them]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1722875931063.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1394559iF99C693E5B82C2BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1722875931063.png" alt="Kent1Cooper_0-1722875931063.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The objects are red, their individual bounding boxes are yellow, the collective bounding box is green, and the Circle as you describe it is white, &lt;STRONG&gt;&lt;EM&gt;which doesn't enclose everything&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Should not the Circle be from the middle of it all with &lt;STRONG&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;/STRONG&gt; a &lt;EM&gt;diameter&lt;/EM&gt; of the larger dimension of the overall bounding box, but rather with&amp;nbsp;&lt;EM&gt;a radius from the middle to a corner of the overall bounding box?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 16:42:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940373#M10856</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-08-05T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940492#M10857</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I tried a variation of my code that offsets inward then uses that object to offset out 2x the distance. ...&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There's something of a danger there, in the possibility of an original shaped such that Offsetting it inward will result in &lt;EM&gt;more than one&lt;/EM&gt; object.&amp;nbsp; White original, approaching itself closely enough in relation to the Offset distance that it makes two resulting Polylines [yellow]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_1-1722880492576.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1394587i741B44D0FC8F120B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_1-1722880492576.png" alt="Kent1Cooper_1-1722880492576.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So if a routine Offsets that inward and goes to then Offset the &lt;EM&gt;last object&lt;/EM&gt; twice as far in the other direction, it will get only one of them [red result].&amp;nbsp; But Offsetting outward directly gets what's wanted [green].&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 17:57:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940492#M10857</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-08-05T17:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940535#M10858</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;Yes that could happen. In the example drawing and using an offset distance of 7 it was not a problem that I could see.&amp;nbsp; TBH I did not look too closely though. My original code posted takes care of multiple offset items and the OP seems to be satisfied.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 18:48:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940535#M10858</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2024-08-05T18:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940584#M10859</link>
      <description>&lt;P&gt;"Garbage in garbage out"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My thoughts exactly. Im honestly sick of&amp;nbsp;&lt;EM&gt;some&lt;/EM&gt; Landscape architects pumping out terrible work and getting paid 4 times what i make&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 18:43:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940584#M10859</guid>
      <dc:creator>Terence3YCFB</dc:creator>
      <dc:date>2024-08-05T18:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Boundary around a set of disconnected polyline objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940602#M10860</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12035551"&gt;@Terence3YCFB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;"Garbage in garbage out"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My thoughts exactly. Im honestly sick of&amp;nbsp;&lt;EM&gt;some&lt;/EM&gt; Landscape architects pumping out terrible work and getting paid 4 times what i make&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12035551"&gt;@Terence3YCFB&lt;/a&gt;&amp;nbsp;Hahaha &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; FWIW, I am an irrigation designer as well ( 25 years worth&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grimacing_face:"&gt;😬&lt;/span&gt; ).&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 18:51:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-a-boundary-around-a-set-of-disconnected-polyline-objects/m-p/12940602#M10860</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2024-08-05T18:51:58Z</dc:date>
    </item>
  </channel>
</rss>

