<?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: Lengthen from midpoint in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7402366#M212809</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; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;Attached is a more developed version of &lt;STRONG&gt;LengthenTotalMid.lsp&lt;/STRONG&gt; / &lt;STRONG&gt;LTM&lt;/STRONG&gt; command. ....&lt;/BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Further possible developments, if you think them&amp;nbsp;worthwhile, to make it slightly more "universal" --&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A) &amp;nbsp;It could be made to accept the selection of open-ended &lt;EM&gt;Splines&lt;/EM&gt;, since those can at least be &lt;EM&gt;shortened&lt;/EM&gt;&amp;nbsp; with the Lengthen DElta option, though they can't be made &lt;EM&gt;longer&lt;/EM&gt;. &amp;nbsp;It would have to count any that started out shorter than the desired length among the ones it couldn't adjust.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B) &amp;nbsp;It could be made to accept&amp;nbsp;&lt;SPAN&gt;the selection of &lt;EM&gt;Xline&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;s&lt;/EM&gt;&lt;SPAN&gt;, and turn them into Lines of the desired length, centered around their origin points, either by Breaking or by just drawing the Line and deleting the Xline.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C) &amp;nbsp;It could be made to accept the selection of &lt;EM&gt;Rays&lt;/EM&gt;, and turn them into Lines of the desired length, though presumably keeping their start points rather than centering around their [non-existent, after all] midpoints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Sep 2017 17:50:46 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2017-09-22T17:50:46Z</dc:date>
    <item>
      <title>Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338567#M212777</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to use the lengthen command in a way that the midpoint stays the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes you want to use lengthen &lt;U&gt;and&lt;/U&gt; use it as an extention. Then there's no problem.&lt;/P&gt;&lt;P&gt;But also sometimes I want to make a (poly)line a cetrain lenght, while its already placed on the right position.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 10:21:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338567#M212777</guid>
      <dc:creator>jeroendewind</dc:creator>
      <dc:date>2017-08-30T10:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338587#M212778</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#666699"&gt;&lt;EM&gt;&amp;nbsp;&lt;FONT color="#808080"&gt;I want to make a (poly)line a cetrain lenght, while its already placed on the right position.&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt; &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;it will be great if we have an image that describe your issue because there are&amp;nbsp;many tricks that we can follow depending on the issue? BUT i can give you an idea that it may help from using Parametric (Fix option ) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="7df151de-2720-4456-827b-e8be66606fad" class="myscreencast-iframe iframe-container active-myscreencast"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/7df151de-2720-4456-827b-e8be66606fad" width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV class="myscreencast-iframe iframe-container active-myscreencast"&gt;Regards,&lt;/DIV&gt;
&lt;DIV class="myscreencast-iframe iframe-container active-myscreencast"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Aug 2017 10:58:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338587#M212778</guid>
      <dc:creator>imadHabash</dc:creator>
      <dc:date>2017-08-30T10:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338596#M212779</link>
      <description>&lt;P&gt;It's going to depend on what you can see and we can't, but wouldn't scale work, you can pick the mid point as the base point and then use the reference option, to give the old and new values either as numbers or picking points&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 10:35:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338596#M212779</guid>
      <dc:creator>steven-g</dc:creator>
      <dc:date>2017-08-30T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338631#M212780</link>
      <description>&lt;P&gt;HELLO,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you mean extend to both sides. A Lisp may do your job&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="dex.JPG" style="width: 512px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/395701iB4138288A309A5CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="dex.JPG" alt="dex.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2 sides extended by 10mm.&lt;/P&gt;
&lt;P&gt;DEX &amp;gt; Specify length &amp;gt; Choose objects.&lt;/P&gt;
&lt;P&gt;Double Extend Lisp&lt;/P&gt;
&lt;P&gt;Command DEX From Lee Mac:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.lee-mac.com/doubleextend.html" target="_blank"&gt;http://www.lee-mac.com/doubleextend.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 10:55:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338631#M212780</guid>
      <dc:creator>Vinayv4v</dc:creator>
      <dc:date>2017-08-30T10:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338680#M212781</link>
      <description>&lt;P&gt;Thanks all, but it's not exactly what I'm looking for. I'll try to expain:&lt;/P&gt;&lt;P&gt;Most of the time, I want to give a line a certain length, so I use lengthen and then total to turn (for example) a 7140 line into a 9000 line (see file 1 and 2). That will work then the left or right side is fixed as in the example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But sometimes I want to do the same trick, but then with the midpoint fixed (see file 3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I can use lengthen and delta, but then I have to extend both sides with the same amount I have to calculate.&lt;/P&gt;&lt;P&gt;It would be nice to be able to use lengthen and total and then click in the middle or something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 11:25:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338680#M212781</guid>
      <dc:creator>jeroendewind</dc:creator>
      <dc:date>2017-08-30T11:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338705#M212782</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for this steel bars i usually draw a circle from the mid point with proper needed diameter .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 11:28:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7338705#M212782</guid>
      <dc:creator>imadHabash</dc:creator>
      <dc:date>2017-08-30T11:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7339076#M212783</link>
      <description>&lt;P&gt;If they're always &lt;EM&gt;straight&lt;/EM&gt;&amp;nbsp; things as in your images [whether Lines or Polylines of any variety or Blocks or...], you can use &lt;STRONG&gt;SCALE&lt;/STRONG&gt;, give it the midpoint as the base, and use the &lt;STRONG&gt;R&lt;/STRONG&gt;eference option -- pick the ends for the Reference length, and give it the desired total length.&amp;nbsp; A routine could probably be written to automate that for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT:&amp;nbsp; By the way, this has &lt;A href="https://forums.autodesk.com/t5/autocad-forum/how-to-lengthen-multiple-polylines-from-multiple-midpoints/m-p/6429364/highlight/true#M132817" target="_blank"&gt;come up before&lt;/A&gt;.&amp;nbsp; Some Searching will likely find other solutions, too.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 13:41:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7339076#M212783</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-08-30T13:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7344387#M212784</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; wrote:&lt;BR /&gt;&lt;P&gt;If they're always &lt;EM&gt;straight&lt;/EM&gt;&amp;nbsp; things as in your images [whether Lines or Polylines of any variety or Blocks or...], you can use &lt;STRONG&gt;SCALE&lt;/STRONG&gt;, give it the midpoint as the base, and use the &lt;STRONG&gt;R&lt;/STRONG&gt;eference option -- pick the ends for the Reference length, and give it the desired total length.&amp;nbsp; A routine could probably be written to automate that for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; By the way, this has &lt;A href="https://forums.autodesk.com/t5/autocad-forum/how-to-lengthen-multiple-polylines-from-multiple-midpoints/m-p/6429364/highlight/true#M132817" target="_blank"&gt;come up before&lt;/A&gt;.&amp;nbsp; Some Searching will likely find other solutions, too.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I found it and tried it, also&amp;nbsp;&lt;SPAN&gt;Vinayv4v posted it in this thread.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4072116"&gt;@Vinayv4v&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;HELLO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you mean extend to both sides. A Lisp may do your job&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[image]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 sides extended by 10mm.&lt;/P&gt;&lt;P&gt;DEX &amp;gt; Specify length &amp;gt; Choose objects.&lt;/P&gt;&lt;P&gt;Double Extend Lisp&lt;/P&gt;&lt;P&gt;Command DEX From Lee Mac:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.lee-mac.com/doubleextend.html" target="_blank"&gt;http://www.lee-mac.com/doubleextend.html&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The solution I'm looking for looks like this Lisp, but it's still different.&lt;/P&gt;&lt;P&gt;This Lisp is usefull because you can select multiple objects in 1 command, but that's not really necessary for me. If you use &lt;EM&gt;DEX&lt;/EM&gt; isntead of the&lt;EM&gt; lengthen delta&lt;/EM&gt;, you only save 1 mouseclick (select the object instead of select both ends seperatly).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 'problem' is that most of the times I prefer to use &lt;EM&gt;total&lt;/EM&gt; instead of&amp;nbsp;&lt;EM&gt;delta&lt;/EM&gt; because I don't always know the exact amount that needs to be added (especially with lines who have decimal numbers).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't know how hard it is to adjust a LIPS, because it's allmost what I'm looking for, except I want to give the new length as input instead of the extention.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:33:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7344387#M212784</guid>
      <dc:creator>jeroendewind</dc:creator>
      <dc:date>2017-09-01T07:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7344600#M212785</link>
      <description>&lt;P&gt;If I understand you correctly you're talking about straight polylines / lines. In this case you can use scale and set the base point as the middlepoint of your polyline.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 09:32:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7344600#M212785</guid>
      <dc:creator>Michiel.Valcke</dc:creator>
      <dc:date>2017-09-01T09:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7344677#M212786</link>
      <description>&lt;P&gt;Kent&lt;/P&gt;
&lt;P&gt;Thank you for that.&lt;/P&gt;
&lt;P&gt;I have exactly the same problem.&lt;/P&gt;
&lt;P&gt;I use polylines with a certain global width and colour and certain linetype and linetype scale to represent tube bracings.&lt;/P&gt;
&lt;P&gt;They end up at any arbitrary length when I put them in position and then I have to lengthen them to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the nearest standard cut tube length, from the midpoint.&lt;/P&gt;
&lt;P&gt;At the moment I am drawing a circle of the same diameter as the length, from the midpoint,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then extending the polyline each end to the circle, and then deleting the circle afterwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your method is 8 steps and almost as long as my method 9 steps, so there is not much difference,&lt;/P&gt;
&lt;P&gt;and they are both just as time consuming.&lt;/P&gt;
&lt;P&gt;If a lisp could be written automating either one of the methods to 1 or 2 steps, that would really be&amp;nbsp;&lt;/P&gt;
&lt;P&gt;useful. Any takers out there from you lispers?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael Kovacik&lt;BR /&gt;AutoCAD 2d &amp;amp; 3d (29 yrs)&amp;amp; Inventor (7 yrs) &lt;BR /&gt;Manufacturing (30 yrs) Draughtsman&lt;BR /&gt;Autodesk Product Design Suite Ultimate 2018&lt;BR /&gt;Johannesburg, South Africa&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Autocd 2018, Inventor Pro 2018&lt;/P&gt;
&lt;P&gt;(Impossible only means you haven't &lt;BR /&gt;found the solution yet)&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 10:23:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7344677#M212786</guid>
      <dc:creator>MikeKovacik4928</dc:creator>
      <dc:date>2017-09-01T10:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7344719#M212787</link>
      <description>&lt;P&gt;lengthen&amp;nbsp; DElta&amp;nbsp;option; snap at one end of&amp;nbsp;the line and then the &amp;nbsp;point where it goes to get the distance &amp;nbsp;and click on the other end of the original line&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;does that work?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 10:53:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7344719#M212787</guid>
      <dc:creator>parkr4st</dc:creator>
      <dc:date>2017-09-01T10:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7345347#M212788</link>
      <description>&lt;P&gt;You are missing the point. We are trying to lengthen an equal amount both sides without having to calculate the delta amount,&lt;/P&gt;
&lt;P&gt;an only work on the total length. We don't want to be using our calculator.&lt;/P&gt;
&lt;P&gt;We are looking for a single command to make a total length, but from the midpoint NOT from one end or the other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"I know I can use lengthen and delta, but then I have to extend both sides with the same amount I have to calculate.&lt;/P&gt;
&lt;P&gt;It would be nice to be able to use lengthen and total and then click in the middle or something." see quote from the original author of this post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael Kovacik&lt;BR /&gt;AutoCAD 2d &amp;amp; 3d (29 yrs)&amp;amp; Inventor (7 yrs) &lt;BR /&gt;Manufacturing (30 yrs) Draughtsman/Designer&lt;BR /&gt;Autodesk Product Design Suite Ultimate 2018&lt;BR /&gt;Johannesburg, South Africa&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Autocad 2018, Inventor Pro 2018&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Impossible only means you haven't found&lt;BR /&gt;the solution yet&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 14:54:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7345347#M212788</guid>
      <dc:creator>MikeKovacik4928</dc:creator>
      <dc:date>2017-09-01T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7345739#M212789</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1169632"&gt;@jeroendewind&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;.......&lt;/P&gt;
&lt;P&gt;But also sometimes I want to make a (poly)line a cetrain lenght, while its already placed on the right position.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;Something like this may work&lt;P&gt;&lt;/P&gt;
&lt;PRE&gt;;:Ranjit Singh
;;9/1/17
(defun c:somefunc  (/ adoc del ss1 tot)
  (vla-startundomark (setq adoc (vla-get-activedocument (vlax-get-acad-object))))
  (setq ss1 (ssget '((0 . "line,lwpolyline"))))
  (and ss1
       (setq tot (getdist "\nSpecify total length: "))
       (mapcar '(lambda (x)
                  (setq del (/ (- tot (getpropertyvalue x "Length")) 2.0))
                  (command-s "._lengthen"
                             (vlax-curve-getstartpoint x)
                             "_delta"
                             del
                             (vlax-curve-getstartpoint x)
                             (vlax-curve-getendpoint x)
                             ""))
               (vl-remove-if 'listp (mapcar 'cadr (ssnamex ss1)))))
  (vla-endundomark (setq adoc (vla-get-activedocument (vlax-get-acad-object)))))&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Total_Length_eq_ex_2_ends.gif" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/396764i05C708EC26AF001A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Total_Length_eq_ex_2_ends.gif" alt="Total_Length_eq_ex_2_ends.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 17:23:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7345739#M212789</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2017-09-01T17:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7345784#M212790</link>
      <description>&lt;P&gt;One thing I would worry about with using Lengthen and its Delta option, and having the routine pick the ends, is that it might sometimes "see" some other object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my take on it, for Lines and single-line-segment LWPolylines only.&amp;nbsp; It uses Scale, and if the object is a Polyline, it re-assigns its original global width to undo the changing of that in the Scale command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(vl-load-com)
(defun C:TLM ; = Total Length with Midpoint kept in place
  (/ tl ent etype wid obj)
  (if
    (and
      (setq tl (getdist "\nTotal Length desired: "))
      (setq ent (car (entsel "\nSelect Line or single-line-segment Polyline: ")))
      (wcmatch (setq etype (cdr (assoc 0 (setq edata (entget ent))))) "LINE,LWPOLYLINE")
      (or
        (= etype "LINE")
        (and
          (not (vlax-curve-isClosed ent))
          (= (vlax-curve-getEndParam ent) 1.0); single-segment
          (member '(42 . 0.0) edata); line segment [not arc]
          (setq wid (cdr (assoc 43 edata))); constant width
        ); and
      ); or
    ); and
    (progn ; then
      (command ; then
        "_.scale" ent "" "_none"
        (mapcar '/ (mapcar '+ (vlax-curve-getStartPoint ent) (vlax-curve-getEndPoint ent)) '(2 2 2))
        (/ tl (vla-get-Length (setq obj (vlax-ename-&amp;gt;vla-object ent)))); new length
      ); command
      (if (= etype "LWPOLYLINE") (vla-put-ConstantWidth obj wid)); restore original width
    ); progn
  ); if
  (princ)
); defun&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could be made to allow multiple selection, to work with other-than-LW Polylines, to notify you if you picked the wrong kind of thing or missed, remember your last length and offer it as default the next time, etc., and of course could use *error* handling and all that stuff.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 17:45:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7345784#M212790</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-09-01T17:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7345921#M212791</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; wrote:&lt;BR /&gt;
&lt;P&gt;One thing I would worry about with using Lengthen and its Delta option, and having the routine pick the ends, is that it might sometimes "see" some other object.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;, the advantage of lengthen as opposed to scale is that it will work with straight as well as angular polylines and even when it has arcs. But&amp;nbsp;you bring up a good point. That is an inherent flaw in "LENGTHEN". Even after you select the object it will "see" other objects at the selection point. One work around is to isolate the object. This, however, could be very memory intensive depending on the&amp;nbsp;drawing. Anyways, here it is&lt;/P&gt;
&lt;PRE&gt;;:Ranjit Singh
;;9/1/17
(defun c:somefunc  (/ adoc del ss1 tot)
  (vla-startundomark (setq adoc (vla-get-activedocument (vlax-get-acad-object))))
  (setq ss1 (ssget '((0 . "line,lwpolyline"))))
  (and ss1
       (setq tot (getdist "\nSpecify total length: "))
       (mapcar '(lambda (x)
                  (command-s "._isolateobjects" x "")
                  (setq del (/ (- tot (getpropertyvalue x "Length")) 2.0))
                  (command-s "._lengthen" x "_delta" del (vlax-curve-getstartpoint x) (vlax-curve-getendpoint x) "")
                  (command-s "._unisolateobjects"))
               (vl-remove-if 'listp (mapcar 'cadr (ssnamex ss1)))))
  (vla-endundomark (setq adoc (vla-get-activedocument (vlax-get-acad-object)))))&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Total_Length_eq_ex_2_ends_v2.gif" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/396788iA3713C213479BE47/image-size/large?v=v2&amp;amp;px=999" role="button" title="Total_Length_eq_ex_2_ends_v2.gif" alt="Total_Length_eq_ex_2_ends_v2.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 18:47:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7345921#M212791</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2017-09-01T18:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349448#M212792</link>
      <description>&lt;P&gt;&lt;BR /&gt;Your lisp doesn't seem to work for me.&lt;BR /&gt;I load it, I get the above error message.&lt;/P&gt;
&lt;P&gt;Command: APPLOAD&lt;BR /&gt;TLM.lsp successfully loaded.&lt;BR /&gt;Command: ; error: malformed list on input&lt;BR /&gt;Command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I type in TLM at the command line,it doesn't recognise.&lt;/P&gt;
&lt;P&gt;What am I doing wrong.&lt;BR /&gt;See attached lisp which I copy/pasted from your post&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael Kovacik&lt;BR /&gt;AutoCAD 2d &amp;amp; 3d (29 yrs)&amp;amp; Inventor (7 yrs) &lt;BR /&gt;Manufacturing (30 yrs) Draughtsman/Designer&lt;BR /&gt;Autodesk Product Design Suite Ultimate 2018&lt;BR /&gt;Johannesburg, South Africa&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Autocad 2018, Inventor Pro 2018&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Impossible only means you haven't found&lt;BR /&gt;the solution yet&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 06:51:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349448#M212792</guid>
      <dc:creator>MikeKovacik4928</dc:creator>
      <dc:date>2017-09-02T06:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349472#M212793</link>
      <description>&lt;P&gt;I copy/pasted your lisp into notepad, with a .lsp extension.&lt;BR /&gt;See attached&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I loaded it into autocad using appload.&lt;BR /&gt;It seems to load with no error messages.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;However when I type in somefunc at the command line&lt;BR /&gt;it doesn't recongise it.&lt;/P&gt;
&lt;P&gt;What am I doing wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Command: APPLOAD&lt;BR /&gt;somefunc.lsp successfully loaded.&lt;BR /&gt;Command:&lt;BR /&gt;Command:&lt;BR /&gt;Command: somefunc&lt;BR /&gt;Unknown command "SOMEFUNC".&amp;nbsp; Press F1 for help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael Kovacik&lt;BR /&gt;AutoCAD 2d &amp;amp; 3d (29 yrs)&amp;amp; Inventor (7 yrs) &lt;BR /&gt;Manufacturing (30 yrs) Draughtsman/Designer&lt;BR /&gt;Autodesk Product Design Suite Ultimate 2018&lt;BR /&gt;Johannesburg, South Africa&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Autocad 2018, Inventor Pro 2018&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Impossible only means you haven't found&lt;BR /&gt;the solution yet&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 07:00:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349472#M212793</guid>
      <dc:creator>MikeKovacik4928</dc:creator>
      <dc:date>2017-09-02T07:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349790#M212794</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/429307"&gt;@MikeKovacik4928&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;Your lisp doesn't seem to work for me.&lt;BR /&gt;I load it, I get the above error message.&lt;/P&gt;
&lt;P&gt;Command: APPLOAD&lt;BR /&gt;TLM.lsp successfully loaded.&lt;BR /&gt;Command: ; error: malformed list on input.....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;As attached, that's all &lt;EM&gt;one line&lt;/EM&gt; of code.&amp;nbsp; It can't be that way -- the semicolon near the beginning "comments out" everything that follows it until a new line starts for the operational content.&amp;nbsp; That new line never starts, it never gets to the closing right parenthesis for the (defun) function which is therefore never completed [that would be the cause of&amp;nbsp;the&amp;nbsp;"malformed list" error], and there's no definition.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 12:27:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349790#M212794</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-09-02T12:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349817#M212795</link>
      <description>&lt;P&gt;Kent&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried copy/paste again. It worked this time, something must have gone wrong on the copy/paste.&lt;/P&gt;
&lt;P&gt;That certainly seems to me to have solved the original question, I am certainly going to use it in future&lt;/P&gt;
&lt;P&gt;rather than the scale or extend to circle method, much better!&lt;/P&gt;
&lt;P&gt;But seeing as I didn't post it, I won't post an "accept as solution", that is up to the original author.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 13:03:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349817#M212795</guid>
      <dc:creator>MikeKovacik4928</dc:creator>
      <dc:date>2017-09-02T13:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Lengthen from midpoint</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349822#M212796</link>
      <description>&lt;P&gt;Tried it again and it worked.&lt;/P&gt;
&lt;P&gt;Something must have gone wrong on copy/paste previously.&lt;/P&gt;
&lt;P&gt;This works for me, just like the other lisp posted,&lt;/P&gt;
&lt;P&gt;and would be a solution for me&lt;/P&gt;
&lt;P&gt;but I didn't post the original question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 13:10:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lengthen-from-midpoint/m-p/7349822#M212796</guid>
      <dc:creator>MikeKovacik4928</dc:creator>
      <dc:date>2017-09-02T13:10:47Z</dc:date>
    </item>
  </channel>
</rss>

