<?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 Move or offset text off of a line in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5607623#M331680</link>
    <description>&lt;P&gt;I am drafting in AutoCad. The .dwg we get is from MicroSurvey, a specialized Cad program specific for surveying. One of the main things I am doing is resizing and formating text from Microsurvey. I change the Syle and hieght. The text is all on the line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The text is not annotative at all. It is not linked to the line at all. It is rotated and centered on the the line however.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now I am just grabbing the grips and moving the text off the line. It is very tedius and the distance is not the same everytime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a simple way to select the text and have it automatically move (perpindicular to the line) a set amount?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure in DIMSCALE will help as they are not demensions so to speak.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help woul be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2015 22:02:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-24T22:02:20Z</dc:date>
    <item>
      <title>Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5607623#M331680</link>
      <description>&lt;P&gt;I am drafting in AutoCad. The .dwg we get is from MicroSurvey, a specialized Cad program specific for surveying. One of the main things I am doing is resizing and formating text from Microsurvey. I change the Syle and hieght. The text is all on the line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The text is not annotative at all. It is not linked to the line at all. It is rotated and centered on the the line however.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now I am just grabbing the grips and moving the text off the line. It is very tedius and the distance is not the same everytime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a simple way to select the text and have it automatically move (perpindicular to the line) a set amount?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure in DIMSCALE will help as they are not demensions so to speak.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help woul be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2015 22:02:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5607623#M331680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-24T22:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5608046#M331681</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;.... The text is all on the line.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.... It is rotated and centered on the the line ....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a simple way to select the text and have it automatically move (perpindicular to the line) a set amount?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How 'bout this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(defun C:MTOL (); = Move Text Off Line&lt;BR /&gt;&amp;nbsp; (setq ss (ssget ":L" '((0 . "TEXT"))))&lt;FONT color="#339966"&gt;; User selection&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp; (repeat (setq n (sslength ss))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq txtobj (vlax-ename-&amp;gt;vla-object (ssname ss (setq n (1- n)))))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vla-put-TextAlignmentPoint txtobj&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vlax-3d-point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (polar&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vlax-get txtobj 'TextAlignmentPoint)&lt;FONT color="#339966"&gt;; initial insertion point&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (+ (vla-get-Rotation txtobj) (/ pi 2))&lt;FONT color="#339966"&gt;;&amp;nbsp;perpendicular upward in relation to Text rotation&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vla-get-Height txtobj)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); polar&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); vlax-3d-point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); vla-put...&lt;BR /&gt;&amp;nbsp; ); repeat&lt;BR /&gt;); defun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It moves it by its own height, which seemed to me a reasonable amount, assuming that you mean it's "centered on the Line" in &lt;EM&gt;both directions&lt;/EM&gt; [Middle or Middle Center justification].&amp;nbsp; If it's really just Centered [base sitting on the Line], try using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#0000ff"&gt;(/&lt;/FONT&gt; (vla-get-Height txtobj) &lt;FONT color="#0000ff"&gt;2)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;for the amount to move it.&amp;nbsp; Experiment with multipliers/dividers on that height to fine-tune how far it moves them.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;That also assumes just Text objects, not Mtext, but you can do both with&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (setq ss (ssget ":L" '((0 . "&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;*&lt;/FONT&gt;&lt;/STRONG&gt;TEXT"))))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;for the selection.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;None of the usual enhancements yet, but see whether it works.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2015 14:10:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5608046#M331681</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-04-25T14:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5609700#M331682</link>
      <description>&lt;P&gt;That seems to work very well. Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To modify the amount it moves off, say half of its own hieght, how would you add that in?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the text is a bearing and a distance on a line. The top piece is Center Justification, the bottom piece is Top Center. They are TEXT, not MTEXT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We might be able to change, in Microsuvey what the defualt justifications are, so the Lisp runs more easily.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking into this for me. Greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-04-27_10h42_35.png" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165890i42AB011213C70DF6/image-size/medium?v=mpbl-1&amp;amp;px=-1" title="2015-04-27_10h42_35.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2015 16:47:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5609700#M331682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-27T16:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5609705#M331683</link>
      <description>Oh I figured out how to change the adjust the height. Just needed to re-read your original post. Cheers!</description>
      <pubDate>Mon, 27 Apr 2015 16:50:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5609705#M331683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-27T16:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5609753#M331684</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the text is a bearing and a distance on a line. The top piece is Center Justification, the bottom piece is Top Center.&amp;nbsp;....&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I can imagine a way that you could select &lt;EM&gt;all&lt;/EM&gt; of those Text objects at once, and have the bearings all move upward, and the distances all move downwatd, so you wouldn't need to have a separate routine for each.&amp;nbsp; It would be a matter of looking at their content, and whether it contains a degree symbol.&amp;nbsp; Would that be worth pursuing, and if so, do they use AutoCAD's typical "%%d" stand-in for the degree symbol?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2015 17:22:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5609753#M331684</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-04-27T17:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5609770#M331685</link>
      <description>&lt;P&gt;Yes thats correct. It is the %%D. Sometimes the bearing are on one side of the line and sometimes they are on the other side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried messing around with settings in Microsurvey, but making it readable in Autocad makes it unreadable in microsurvey. So that won't work. The text hieght is really small in MS so you can read the text, as there is often tons of lines and text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Todd&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2015 17:34:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5609770#M331685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-27T17:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5611181#M331687</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Yes thats correct. It is the %%D. Sometimes the bearing are on one side of the line and sometimes they are on the other side. ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If they're starting with their insertion points &lt;EM&gt;on&lt;/EM&gt; the Line/Pline, regardless of which of them is on which side, this seems to relocate them with the bearing always on top, in minimal testing:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(defun C:MTOL (/ ss txtobj brg); = Move Text Off Line&lt;BR /&gt;&amp;nbsp; (setq ss (ssget ":L" '((0 . "TEXT")))); User selection&lt;BR /&gt;&amp;nbsp; (repeat (setq n (sslength ss))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; txtobj (vlax-ename-&amp;gt;vla-object (ssname ss (setq n (1- n))))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brg (wcmatch (strcase (vla-get-TextString txtobj)) "*%%D*")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; = T for bearing, nil for distance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); setq&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vla-put-Alignment txtobj (if brg 1 7))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; center for bearing, top-center for distance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vla-put-TextAlignmentPoint txtobj&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vlax-3d-point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (polar&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vlax-get txtobj 'TextAlignmentPoint); initial insertion point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((if brg + -) (vla-get-Rotation txtobj) (/ pi 2))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; direction upward for bearing, downward for distance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (/ (vla-get-Height txtobj) 2)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); polar&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); vlax-3d-point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); vla-put...&lt;BR /&gt;&amp;nbsp; ); repeat&lt;BR /&gt;); defun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/166056i5B628B1A1DBAEF21/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="MTOL.png" title="MTOL.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you'd rather keep whichever starts on top there, the determination of which way to go could be based on their Alignment property [which it would leave alone] rather than on their content.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 15:16:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5611181#M331687</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-04-28T15:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5611214#M331688</link>
      <description>&lt;P&gt;This works very well. There would be some instances where we would want the bearing and distance to remian on the side they originated. It would not always be used however. I am thinking a second routine to swap the text might work. This seems to do the trick&amp;nbsp;&lt;A target="_blank" href="http://www.lee-mac.com/copytext.html"&gt;http://www.lee-mac.com/copytext.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for all your help!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 15:33:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5611214#M331688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-28T15:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Move or offset text off of a line</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5611307#M331689</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;....&amp;nbsp;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you'd rather keep whichever starts on top there, the determination of which way to go could be based on their Alignment property [which it would leave alone] rather than on their content.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That takes less code, because it imposes only one new Property on the Text object:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(defun C:MTOL (/ ss txtobj); = Move Text Off Line&lt;BR /&gt;&amp;nbsp; (setq ss (ssget ":L" '((0 . "TEXT")))); User selection&lt;BR /&gt;&amp;nbsp; (repeat (setq n (sslength ss))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq txtobj (vlax-ename-&amp;gt;vla-object (ssname ss (setq n (1- n)))))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vla-put-TextAlignmentPoint txtobj&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vlax-3d-point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (polar&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (vlax-get txtobj 'TextAlignmentPoint); initial insertion point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((if (= (vla-get-Alignment txtobj) 7) - +) (vla-get-Rotation txtobj) (/ pi 2))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; direction downward for top-center, upward otherwise&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (/ (vla-get-Height txtobj) 2)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); polar&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); vlax-3d-point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); vla-put...&lt;BR /&gt;&amp;nbsp; ); repeat&lt;BR /&gt;); defun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That actually "fits" the command name a little better than the earlier one.&amp;nbsp; If you want both available, give one of them a different command name.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 16:32:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/move-or-offset-text-off-of-a-line/m-p/5611307#M331689</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-04-28T16:32:33Z</dc:date>
    </item>
  </channel>
</rss>

