<?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: Copy text then edit that text in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7577417#M111684</link>
    <description>&lt;P&gt;Yes, the code could be compressed to shorten it or extended to do check on additional properties and/or more error checking as well.&lt;/P&gt;&lt;P&gt;But considering the original code (also using the InsertionPoint instead of the TextAlignmentpoint) and this new 'quick 'n dirty' solution, it does the job and works as expected.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2017 07:07:18 GMT</pubDate>
    <dc:creator>DannyNL</dc:creator>
    <dc:date>2017-11-28T07:07:18Z</dc:date>
    <item>
      <title>Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575084#M111673</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;i'm super new to autolisp. I take parts here and there on the web and edit it for my purposes.&lt;/P&gt;&lt;P&gt;I want to copy a text, snap to insertion point automatically then click where I want it to go, then enter edit mode.&lt;/P&gt;&lt;P&gt;Here's what I came with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:ct3 (/ IncVal TextObj NewPos TextVal NewTextObj)&lt;BR /&gt;(vl-load-com)&lt;BR /&gt;&amp;nbsp; (setq&amp;nbsp;TextObj&lt;BR /&gt;&amp;nbsp; (vlax-ename-&amp;gt;vla-object (car (entsel "\nSelect Mtext Object :")))&lt;BR /&gt;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp; (while&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq NewPos (getpoint "\nSelect new position : "))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq TextVal (atoi (vla-get-textstring TextObj)))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq NewTextObj (vla-copy TextObj))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vla-move NewTextObj&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vla-get-InsertionPoint NewTextObj)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vlax-3D-Point NewPos)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vla-put-textstring NewTextObj (command "_TEXTEDIT" (entlast) ""))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq TextObj NewTextObj)&lt;BR /&gt;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp; (princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works, but it gives me an error about ActiveX, and a non optional parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, it would be nice that when I edit the text and press enter, the funtion would&lt;/P&gt;&lt;P&gt;start again so that I can copy/edit another text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to anyone who can help!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:09:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575084#M111673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T14:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575119#M111674</link>
      <description>&lt;P&gt;You cannot give a (COMMAND.... as argument to vla-put-TextString. That is causing the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in this case you wouldn't need to use Visual LISP at all but just plain AutoLISP will do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun c:ct3 (/ Selection BasePoint NewPos Entity)
   (if
      (setq Selection (ssget "_:S+." '((0 . "*TEXT"))))
      (progn
         (setq BasePoint (cdr (assoc 10 (entget (setq Entity (ssname Selection 0))))))
         (while            
            (setq NewPos (getpoint BasePoint  "\nSelect new position : "))
            (command "_.COPY" Entity "" BasePoint NewPos)
            (command "_.TEXTEDIT" (entlast) "")
         )
      )
   )
   (princ)
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:31:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575119#M111674</guid>
      <dc:creator>DannyNL</dc:creator>
      <dc:date>2017-11-27T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575184#M111675</link>
      <description>&lt;P&gt;Thanks for the very fast answer!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:37:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575184#M111675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575242#M111676</link>
      <description>&lt;P&gt;why does it say unknown command "ct3" each time I copy/edit the text?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:48:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575242#M111676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575250#M111677</link>
      <description>&lt;P&gt;Little modified&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3144455"&gt;@DannyNL&lt;/a&gt;'s version to see the preview...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(and added the UCS support and removed last "" causing an error)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:ct3 (/ Selection BasePoint NewPos Entity)
   (if
      (setq Selection (ssget "_:S+." '((0 . "*TEXT"))))
      (progn
        (setq BasePoint (trans (cdr (assoc 10 (entget (setq Entity (ssname Selection 0))))) 0 1))
        (command "_.COPY" Entity "" "_non" BasePoint PAUSE)
        (command "_.TEXTEDIT" (entlast))))
   (princ)
)&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:48:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575250#M111677</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-11-27T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575392#M111678</link>
      <description>&lt;P&gt;I don't know.&lt;/P&gt;&lt;P&gt;At first I thought it was the additional "" after (entlast) just as&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;said, but when I remove it the code fails on my side in AutoCAD 2017. So on my side the additional "" after (entlast) just like in your original code seems to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try to look into it tomorrow out of curiosity, as my working day is getting to an end at the moment&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:17:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575392#M111678</guid>
      <dc:creator>DannyNL</dc:creator>
      <dc:date>2017-11-27T15:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575405#M111679</link>
      <description>&lt;P&gt;Thanks BeekeeCZ it works. I just added a while loop so the code conitnues to copy edit!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:19:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575405#M111679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T15:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575438#M111680</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3144455"&gt;@DannyNL&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I don't know.&lt;/P&gt;
&lt;P&gt;At first I thought it was the additional "" after (entlast) just as&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;said, but when I remove it the code fails on my side in AutoCAD 2017. So on my side the additional "" after (entlast) just like in your original code seems to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try to look into it tomorrow out of curiosity, as my working day is getting to an end at the moment&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sorry, I tested it in Autocad 2016.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the behavior of the TEXTEDIT changed in&amp;nbsp;2017 and now it depends on the TEXTEDITMODE sysvar.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:32:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575438#M111680</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-11-27T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575452#M111681</link>
      <description>&lt;P&gt;I have autocad 2015 so everything works perfectly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:29:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575452#M111681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T15:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575701#M111682</link>
      <description>&lt;P&gt;If you can count on not missing, and not picking something other than Text/Mtext, it can be reduced to a single (command) function:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ".copy" (car (setq test (entsel))) "" (osnap (cadr test) "ins") pause&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ".textedit" "_last"&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That also gets around the &lt;EM&gt;quirky situation with (assoc &lt;STRONG&gt;10&lt;/STRONG&gt;) values for Text, which could lead you astray&lt;/EM&gt;.&amp;nbsp; For &lt;EM&gt;Left&lt;/EM&gt;-justified Text [and &lt;EM&gt;Fit&lt;/EM&gt; and &lt;EM&gt;Aligned&lt;/EM&gt;, if you ever use those], that's the insertion point, but for other justifications,&amp;nbsp;the insertion point is&amp;nbsp;(assoc &lt;STRONG&gt;11&lt;/STRONG&gt;), and (assoc 10) is the left end of&amp;nbsp;its base-line.&amp;nbsp; The above uses Osnap INSertion, which will find the "right" one in all cases, without the need to account for&amp;nbsp;the justification to decide which entity data entry to look at.&amp;nbsp; It also spares you any need to account for the possibility of a different UCS.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 16:50:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575701#M111682</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-11-27T16:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575728#M111683</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3144455"&gt;@DannyNL&lt;/a&gt; and BeekeeCZ wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;... (cdr (assoc &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;/FONT&gt; (entget ....&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;A potential problem -- see the after-code-suggestion comment in Post 10.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 16:48:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7575728#M111683</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-11-27T16:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7577417#M111684</link>
      <description>&lt;P&gt;Yes, the code could be compressed to shorten it or extended to do check on additional properties and/or more error checking as well.&lt;/P&gt;&lt;P&gt;But considering the original code (also using the InsertionPoint instead of the TextAlignmentpoint) and this new 'quick 'n dirty' solution, it does the job and works as expected.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 07:07:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7577417#M111684</guid>
      <dc:creator>DannyNL</dc:creator>
      <dc:date>2017-11-28T07:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7582724#M111685</link>
      <description>&lt;P&gt;(defun c:df1 (/ Selection BasePoint NewPos Entity Last BasePoint2)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (if&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq Selection (ssget "_:S+." '((0 . "*TEXT"))))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (progn&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq BasePoint (trans (cdr (assoc 10 (entget (setq Entity (ssname Selection 0))))) 0 1))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (command "_.COPY" Entity "" "_non" BasePoint PAUSE)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (command "_.TEXTEDIT" (entlast))))&lt;BR /&gt;&amp;nbsp;(setq Last (entlast))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (c:TA)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (command "_.move" Last "" (osnap (cadr Last) "_ins") PAUSE)&amp;nbsp; &amp;lt;--------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my command move doesnt work here... It gets Last but doesn't get the basepoint.&lt;/P&gt;&lt;P&gt;It asks me to pick a point as basepoint.&lt;/P&gt;&lt;P&gt;TA gets orientation of a line and apply it to a text. Then I want to move that text with insertion point.&lt;/P&gt;&lt;P&gt;I'm stuck and I really tried everything...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:30:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7582724#M111685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-29T16:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7583701#M111686</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (command "_.COPY" Entity "" "_non" BasePoint PAUSE)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (command "_.TEXTEDIT" (entlast))))&lt;BR /&gt;&amp;nbsp;&lt;FONT color="#0000ff"&gt;(setq Last (entlast))&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (c:TA)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (command "_.move" Last "" (osnap &lt;FONT color="#ff0000"&gt;(cadr Last)&lt;/FONT&gt; "_ins") PAUSE)&amp;nbsp; &amp;lt;--------&lt;BR /&gt;....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my command move doesnt work here... It gets Last but doesn't get the basepoint.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The '&lt;FONT color="#0000ff"&gt;Last&lt;/FONT&gt;' variable contains an &lt;FONT color="#0000ff"&gt;&lt;EM&gt;entity name&lt;/EM&gt;&lt;/FONT&gt;, but you're trying to get a &lt;EM&gt;point&lt;/EM&gt;&amp;nbsp; from it, using &lt;FONT color="#ff0000"&gt;(cadr Last)&lt;/FONT&gt; as if what 'Last' contained was what you get from &lt;EM&gt;(entsel)&lt;/EM&gt;&amp;nbsp; [i.e. a &lt;EM&gt;list&lt;/EM&gt;,&amp;nbsp;containing an entity name and the point at which it was picked].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the last designated point [unless the TA command uses some (command) function that uses selected points] was the end of the Copy command above, presumably that's still where you want to Move from, and you should probably be able to do &lt;FONT color="#ff00ff"&gt;this&lt;/FONT&gt; instead:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; (command "_.move" Last "" &lt;FONT color="#ff00ff"&gt;"@"&lt;/FONT&gt; PAUSE)&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 21:05:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7583701#M111686</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-11-29T21:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7585683#M111687</link>
      <description>&lt;P&gt;This is great!! thanks so much! How come the @ snap to insertion?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 13:54:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7585683#M111687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T13:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Copy text then edit that text</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7585762#M111688</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;@Anonymous is great!! thanks so much! How come the @ snap to insertion?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It doesn't -- it's a "relative displacement" with no numerical values for relative coordinates or distance and angle, i.e. it re-uses the last designated point, which in this case&amp;nbsp;&lt;EM&gt;happens to be&lt;/EM&gt;&amp;nbsp; the insertion point, because of the way the last command operated.&amp;nbsp; You could&amp;nbsp;do the same with this equivalent:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; (command "_.move" Last ""&amp;nbsp;&lt;FONT color="#ff00ff"&gt;(getvar 'lastpoint)&lt;/FONT&gt;&amp;nbsp;PAUSE)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 14:13:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-text-then-edit-that-text/m-p/7585762#M111688</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-11-30T14:13:42Z</dc:date>
    </item>
  </channel>
</rss>

