<?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: Converting line to rectangle in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821414#M108900</link>
    <description>&lt;P&gt;I use PEDIT and choose the width of 1mm and everything is fine so far, but the only problem is that the outcome here looks like a real rectangle but technically CAD does now recognize it as a rectangle and sounds like it still is recognized as a line. Because the corners is not recognizable and Snap also does not recognize the corners as intersections the way it recognizes the corners of a simple rectangle. I need the PEDITED created rectangle to be like a normal rectangle and the corners be selectable by snap. I have attached a few screenshots to show what I mean. I would really appreciate it if you could help me solve this out.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="the primary lines" style="width: 840px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372458iEC182B183FF2C05B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-06 002929.png" alt="the primary lines" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;the primary lines&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pedited with a width of 1mm" style="width: 848px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372460i69E61FE722FDE727/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-06 003008.png" alt="Pedited with a width of 1mm" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Pedited with a width of 1mm&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="the outcome looks like a rectangle but still like a line only the start and ending point of the line is recognized by snap" style="width: 617px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372459i8DC4ED8C88F606A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-06 003026.png" alt="the outcome looks like a rectangle but still like a line only the start and ending point of the line is recognized by snap" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;the outcome looks like a rectangle but still like a line only the start and ending point of the line is recognized by snap&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 21:06:55 GMT</pubDate>
    <dc:creator>latino_alireza</dc:creator>
    <dc:date>2024-06-05T21:06:55Z</dc:date>
    <item>
      <title>Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/9408786#M108893</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to convert several lines (different lengths) into rectangles. The rectangles needs to be the same length as the lines and 0.2m wide. It needs to be centered on the line and in the same angle as the line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a simple way or a command to do this? Maybe there is an existing lisp for this?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 08:17:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/9408786#M108893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-30T08:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/9408895#M108894</link>
      <description>&lt;P&gt;Select all the lines, use PEDIT to set width, then convert it to rectangles using&amp;nbsp;&lt;A href="http://www.lee-mac.com/polyoutline.html" target="_blank" rel="noopener"&gt;THIS&lt;/A&gt;&amp;nbsp; routine.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 09:20:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/9408895#M108894</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-03-30T09:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/9408925#M108895</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Show an example of what you need.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 09:38:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/9408925#M108895</guid>
      <dc:creator>maratovich</dc:creator>
      <dc:date>2020-03-30T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821278#M108896</link>
      <description>&lt;P&gt;Thanks boys, it was great, just one more question about this procedure, the rectangle is still identified as a line because its 4 corners is not selectible in offset. is there any cure for that please?!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:01:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821278#M108896</guid>
      <dc:creator>latino_alireza</dc:creator>
      <dc:date>2024-06-05T20:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821283#M108897</link>
      <description>&lt;P&gt;You can use &lt;STRONG&gt;OffsetBothSidesClose.lsp&lt;/STRONG&gt;, &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/offset-both-sides-and-close/m-p/9443496/highlight/true#M398535" target="_blank" rel="noopener"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:05:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821283#M108897</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-06-05T20:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821303#M108898</link>
      <description>&lt;P&gt;it makes just two lines at both sides, and still I need to make two more lines at both sides and delete the main one in the middle to make it become a rectangle.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:14:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821303#M108898</guid>
      <dc:creator>latino_alireza</dc:creator>
      <dc:date>2024-06-05T20:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821362#M108899</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15623060"&gt;@latino_alireza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Thanks boys, it was great, just one more question about this procedure, the rectangle is still identified as a line because its 4 corners is not selectible in offset. is there any cure for that please?!&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;4 unconnected non-touching lines will not become a closed rectangle if your intent is to never ever alter any length.&lt;/P&gt;&lt;P&gt;Perhaps you means something else using the words "line" and 'rectangle'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll need to share your DWG file here: do so soon please.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:43:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821362#M108899</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-06-05T20:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821414#M108900</link>
      <description>&lt;P&gt;I use PEDIT and choose the width of 1mm and everything is fine so far, but the only problem is that the outcome here looks like a real rectangle but technically CAD does now recognize it as a rectangle and sounds like it still is recognized as a line. Because the corners is not recognizable and Snap also does not recognize the corners as intersections the way it recognizes the corners of a simple rectangle. I need the PEDITED created rectangle to be like a normal rectangle and the corners be selectable by snap. I have attached a few screenshots to show what I mean. I would really appreciate it if you could help me solve this out.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="the primary lines" style="width: 840px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372458iEC182B183FF2C05B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-06 002929.png" alt="the primary lines" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;the primary lines&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pedited with a width of 1mm" style="width: 848px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372460i69E61FE722FDE727/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-06 003008.png" alt="Pedited with a width of 1mm" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Pedited with a width of 1mm&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="the outcome looks like a rectangle but still like a line only the start and ending point of the line is recognized by snap" style="width: 617px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372459i8DC4ED8C88F606A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-06 003026.png" alt="the outcome looks like a rectangle but still like a line only the start and ending point of the line is recognized by snap" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;the outcome looks like a rectangle but still like a line only the start and ending point of the line is recognized by snap&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 21:06:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821414#M108900</guid>
      <dc:creator>latino_alireza</dc:creator>
      <dc:date>2024-06-05T21:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821476#M108901</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15623060"&gt;@latino_alireza&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;Giving a line a WIDTH and masking the fact that it is a solid wide line does &lt;U&gt;not&lt;/U&gt; make it a rectangle, is is simply a hollow-display of a thick line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I noted before, there is NOTHING in AutoCAD to convert a single line to a rectangle, it will always be a single line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You want to use RECTANG command to create and draw a 1mm wide, or customize a LISP to offset your single LINE object, then find the four ends to close with two other lines, then merge them altogether to create a closed polyline aka a rectangle.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Share your DWG file here, I'll show you how you misrepresented a thick filled line with an outline of a single thick line so you no longer think of is a a 'rectangle'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TIA&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 21:38:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821476#M108901</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-06-05T21:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821529#M108902</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;I really do not know how to make a customized lisp and if I none of the techniques and lisps mentioned above work, I'm gonna have to do all the lines one by one. I would be thankful of any help.&lt;BR /&gt;Here is my DWG&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 22:09:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821529#M108902</guid>
      <dc:creator>latino_alireza</dc:creator>
      <dc:date>2024-06-05T22:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822763#M108903</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15623060"&gt;@latino_alireza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;it makes just two lines at both sides, and still I need to make two more lines at both sides and delete the main one in the middle to make it become a rectangle.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It works to make a rectangle for me -- that's what the "Close" at the end of the file name is about -- in your sample drawing at Message 10 as well as in new drawings.&amp;nbsp; If it doesn't do that for you, I'm at a loss....&amp;nbsp; Show us your command-line history when you use it and it doesn't work.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:40:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822763#M108903</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-06-06T13:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822880#M108904</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15623060"&gt;@latino_alireza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...Here is my DWG&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;PEDIT command creates a wide PLINE of your LINE, this is what a 1mm wide PLINE looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pendean_0-1717677791611.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372755iEBE6D28C32F94F11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pendean_0-1717677791611.png" alt="pendean_0-1717677791611.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is still a "line"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pendean_1-1717677824678.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372756i6AAFE192B67B1596/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pendean_1-1717677824678.png" alt="pendean_1-1717677824678.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Forcing the display to hide the line fill like you did does not turn it into a RECTANG, it is still a "line"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pendean_2-1717677870285.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372757i0D4D23051271AF54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pendean_2-1717677870285.png" alt="pendean_2-1717677870285.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The LISP provided in message &lt;A href="https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821283#M1132520" target="_blank" rel="noopener"&gt;#5&lt;/A&gt; above needs a fix to finish but almost gets you there, ask&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;to tweak it for you so it runs through the JOIN option automatically since you may have just ignored all the prompts at the command line asking you to finish, and see if he can also make it where you can select more than one object at a time too.&lt;/P&gt;&lt;P&gt;This is now a RECTANG, with corners that you can pick:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pendean_3-1717678290500.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372763iA220255804F819BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pendean_3-1717678290500.png" alt="pendean_3-1717678290500.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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 12:53:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822880#M108904</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-06-06T12:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822919#M108905</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;The LISP provided in message &lt;A href="https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12821283#M1132520" target="_blank" rel="noopener"&gt;#5&lt;/A&gt; above needs a fix to finish but almost gets you there, ask&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;to tweak it for you so it runs through the JOIN option automatically since you may have just ignored all the prompts at the command line asking you to finish, and see if he can also make it where you can select more than one object at a time too.&lt;/P&gt;
&lt;P&gt;.....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't understand.&amp;nbsp; What "fix" does it need?&amp;nbsp; What do you mean by "all the prompts at the command line asking you to finish"?&amp;nbsp; The &lt;EM&gt;one&lt;/EM&gt; such thing in it could only be the completion of the selection of objects.&amp;nbsp; It already does finish, join, etc., and for multiple objects.&amp;nbsp; I did all these in the sample drawing with it in one running of the command, and yes, they're closed Polylines:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1717679261831.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372775iC61E30EDA13C9789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1717679261831.png" alt="Kent1Cooper_0-1717679261831.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:39:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822919#M108905</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-06-06T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822924#M108906</link>
      <description>&lt;P&gt;It was said that a polyline with a width can not be transformed into a rectangle.&lt;/P&gt;
&lt;P&gt;But if you CONVTOSURFACE them you may obtain surfaces that you can explode. Then you get regions and .... you can explode them too&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(always using P like Previous to select the after explosion objects)&lt;/P&gt;
&lt;P&gt;And then a big and multiple PEDIT. (with M and P, still)&lt;/P&gt;
&lt;P&gt;It works even if it is not crazily practical !&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:11:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822924#M108906</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2024-06-06T13:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822959#M108907</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/62037"&gt;@tramber&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;It was said that a polyline with a width can not be transformed into a rectangle. .....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Certainly it can, if it's single-linear, but any Polyline with constant width can be converted to its outline.&amp;nbsp; If you want to go the route of turning the Lines into Polylines and giving them width, you can use the &lt;STRONG&gt;PLWO&lt;/STRONG&gt; command in&amp;nbsp;&lt;STRONG&gt;PLWtoOutline.lsp&lt;/STRONG&gt;, &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/convert-polylines-into-double-lines-with-hatch/m-p/5840248/highlight/true#M335640" target="_blank" rel="noopener"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;, to turn them into the outlining rectangles.&amp;nbsp; [I've tried it in the sample drawing, and it works for me.&amp;nbsp; But the OBSC command is faster, without the intermediary conversion of Lines to Polylines with width.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I think there are routines out there that can do the same even for Polylines of &lt;EM&gt;varying&lt;/EM&gt; width, though PLWO is limited to those with global non-zero width.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:25:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12822959#M108907</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-06-06T13:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12823079#M108908</link>
      <description>&lt;P&gt;For sure, if you employ lisp, you can contradict all the time &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And I would like you to contradict the one who originaly said the axiom, not me.&lt;/P&gt;
&lt;P&gt;It is more elegant.&lt;/P&gt;
&lt;P&gt;Although I a m myself a lisper, since 2000 at quite a high level, my pleasure is always to find solutions wihtout !&lt;/P&gt;
&lt;P&gt;This is why you will never see me here with too many lisps. I got none in my computer except a huge project for internal use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:54:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12823079#M108908</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2024-06-06T13:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12823087#M108910</link>
      <description>&lt;P&gt;Anyways I had to do all the process one by one with simple Line command. &lt;span class="lia-unicode-emoji" title=":sneezing_face:"&gt;🤧&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:56:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12823087#M108910</guid>
      <dc:creator>latino_alireza</dc:creator>
      <dc:date>2024-06-06T13:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12823086#M108909</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;It didn't work for me either.&amp;nbsp; Kept asking to close repeatedly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might try the attached but you should use -dwgunits first to convert your drawing to meters IMO. The program adds a rectangle for each line and moves the lines to layer defpoints in case you need them also. There is no prompt for rectangle height. It's built in at 0.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of manipulating coordinate systems, the program uses rotation and translation transforms.&amp;nbsp; Takes a bit of time to complete the whole task (lots of lines).&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:57:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12823086#M108909</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2024-06-06T13:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Converting line to rectangle</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12823229#M108911</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/411413"&gt;@dbroad&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;It didn't work for me either.&amp;nbsp; Kept asking to close repeatedly.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Looking into it, the only thing I can think of is that it doesn't account for the &lt;STRONG&gt;PEDITACCEPT&lt;/STRONG&gt; System Variable setting.&amp;nbsp; I always have that set to 1, and didn't have that in mind when I wrote that routine.&amp;nbsp; If I set it to 0, the routine doesn't work right, but asking to close repeatedly is &lt;EM&gt;not&lt;/EM&gt; the symptom, so I'm not sure that can be it.&amp;nbsp; But if you have PEDITACCEPT = 1, does it work?&amp;nbsp; If that solves it, see the attached update which accounts for that regardless of your current setting, and restores your current setting if it changed it.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 14:44:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-line-to-rectangle/m-p/12823229#M108911</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-06-06T14:44:35Z</dc:date>
    </item>
  </channel>
</rss>

