<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>CAD Forum discussion (EN) : align text</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : AutoCAD : align text]]></description>
  <pubDate>Wed, 08 Apr 2026 23:31:01 +0000</pubDate>
  <lastBuildDate>Thu, 13 Nov 2008 13:58:15 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum_en/RSS_post_feed.asp?TID=1305</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD Forum discussion (EN)]]></title>
   <url>https://www.cadforum.cz/forum_en/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum_en/</link>
  </image>
  <item>
   <title><![CDATA[align text : ok, actually I got it. I tried...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=1305&amp;PID=3579&amp;title=align-text#3579</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=23910">Kajito</a><br /><strong>Subject:</strong> 1305<br /><strong>Posted:</strong> 13.Nov.2008 at 13:58<br /><br />ok,<br />actually I got it. I tried to googe it again and I've found the lisp I was looking for.<br />Here is the lisp just in case somebody would like to use it as well. My thanks goes to Ramesh Gopal on cadalyst forum.<br /><br />;;; CADALYST 03/08  www.cadalyst.com/code <br />;;; Tip 2275: TAL.lsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Align Text  (c) 2008 Ramesh Gopal  <br /><br />; Align a group of TEXT in line with a reference TEXT, horizontally or vertically.<br />; BY G. Ramesh, NPCC, Abu Dhabi, UAE<br /><br />(defun C:TALIGN(/ ang newpt p1 p2 p3 p4 chk ss sl i ref opt n rlist elist el1 ep)<br /> (setq ss (ssget) sl (sslength ss) i 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ref (car(entsel "\nPick the reference TEXT: "))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chk (reverse(cdr(reverse(assoc 11 (entget ref)))))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ang (cdr(assoc 50 (entget ref)))<br /> )<br /> (initget "Ver Hor")<br /> (setq opt (getkword "\nAlign TEXT Vertically or Horizontally &lt;Ver&gt;? "))<br /> (if (not opt) (setq opt "Ver"))<br /> (if (equal chk '(11 0.0 0.0)) (setq n 10) (setq n 11))<br /> (setq rlist (assoc n (setq elist (entget ref))))<br /> (repeat sl<br />  (setq el1 (entget(ssname ss i)) ep (assoc n el1))<br />  (if (= opt "Hor")<br />&nbsp;&nbsp;&nbsp;(progn<br />&nbsp;&nbsp;&nbsp;&nbsp;(setq p1 (cdr rlist) p2 (polar p1 ang 5.0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  p3 (cdr ep) p4 (polar p3 (+ ang (/ pi 2)) 5.0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  newpt (inters p1 p2 p3 p4 nil)<br />&nbsp;&nbsp;&nbsp;&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;(entmod (subst (list (car ep) (car newpt) (cadr newpt) (last ep)) ep el1))<br />&nbsp;&nbsp;&nbsp;)<br />&nbsp;&nbsp;&nbsp;(progn<br />&nbsp;&nbsp;&nbsp;&nbsp;(setq p1 (cdr rlist) p2 (polar p1 (- ang (/ pi 2)) 5.0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  p3 (cdr ep) p4 (polar p3 ang 5.0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  newpt (inters p1 p2 p3 p4 nil)<br />&nbsp;&nbsp;&nbsp;&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;(entmod (subst (list (car ep) (car newpt) (cadr newpt) (last ep)) ep el1))<br />&nbsp;&nbsp;&nbsp;)<br />  )<br />  (setq i (1+ i))<br /> )(prin1)<br />)]]>
   </description>
   <pubDate>Thu, 13 Nov 2008 13:58:15 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=1305&amp;PID=3579&amp;title=align-text#3579</guid>
  </item> 
  <item>
   <title><![CDATA[align text : Hi guys,  I need help with the...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=1305&amp;PID=3555&amp;title=align-text#3555</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=23910">Kajito</a><br /><strong>Subject:</strong> 1305<br /><strong>Posted:</strong> 11.Nov.2008 at 16:32<br /><br />Hi guys,<br /><br />I need help with the following. I guess it should be pretty simple but I cannot get this sorted myself.<br />What I'd like to have is a tool (command, button, lisp) that will align text to a line. Manually I would do it the way that I would select the text, go to properties and change the x or y value for all of them so that all the labels are aligned to x or y axis.<br />I've been thinking about an lisp that would work the way that I will select all the text (labels), enter, than pick the label or line from which the other text would adjust the x or y value.<br />Can anybody help?<br />Thanks]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 16:32:58 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=1305&amp;PID=3555&amp;title=align-text#3555</guid>
  </item> 
 </channel>
</rss>