<?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: Size annotations, annotating both ends in Fabrication CADmep Forum</title>
    <link>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7645131#M2942</link>
    <description>&lt;P&gt;Followup....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can't do both ends directly in the UI. However using Lisp, you can get both but it's a 2 step operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq Item_Number 1)
(setq Item_Size 2)
(setq Item_Elevation 3)
(setq Item_Alias 4)
(setq Item_Set 5)
(setq Item_Length 6)
(setq Item_Custom 7)

(defun c:addalltxt()
  (setq textSize (getvar "TextSize"))
  (setq textSize (+ textSize (/ textSize 10)))

  (setq obj (entsel))
  (setq ent (car obj))
  (setq pnt (cadr obj))

;;;  (AddTextAtPoint Item_Number ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))

  (AddTextAtPoint Item_Size ent pnt)
  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))

;;;  (AddTextAtPoint Item_Elevation ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize TextSize TextSize) (caddr pnt)))
;;;
;;;  (AddTextAtPoint Item_Alias ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))
;;;
;;;  (AddTextAtPoint Item_Set ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))
;;;
;;;  (AddTextAtPoint Item_Length ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))
;;;
;;;  (AddTextAtPoint Item_Custom ent pnt "Spool")
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))

  (princ)
)&lt;/PRE&gt;&lt;P&gt;The Lisp came from here and I've commented out the sections for other annotation types...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.xtracad.com/forum/index.php?topic=13151.0" target="_blank"&gt;http://www.xtracad.com/forum/index.php?topic=13151.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shoutout to Josh Merchant/Midlands Mechanical, the author.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run the Lisp to tag one end. Then Hold the TAB key while you run the Lisp to tag the other end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2017 17:00:25 GMT</pubDate>
    <dc:creator>dyoung</dc:creator>
    <dc:date>2017-12-22T17:00:25Z</dc:date>
    <item>
      <title>Size annotations, annotating both ends</title>
      <link>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7585395#M2904</link>
      <description>&lt;P&gt;I'm looking for a way to give a size annotation for both ends of a transition, square to round etc.&amp;nbsp; Is there a way to do this, or is CTEXT the only way to get this done.&amp;nbsp; Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 12:18:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7585395#M2904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T12:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Size annotations, annotating both ends</title>
      <link>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7645091#M2941</link>
      <description>&lt;P&gt;Using the standard Size annotation, you can either size one end or the other but not both as far as I am aware.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 16:47:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7645091#M2941</guid>
      <dc:creator>dyoung</dc:creator>
      <dc:date>2017-12-22T16:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Size annotations, annotating both ends</title>
      <link>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7645131#M2942</link>
      <description>&lt;P&gt;Followup....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can't do both ends directly in the UI. However using Lisp, you can get both but it's a 2 step operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq Item_Number 1)
(setq Item_Size 2)
(setq Item_Elevation 3)
(setq Item_Alias 4)
(setq Item_Set 5)
(setq Item_Length 6)
(setq Item_Custom 7)

(defun c:addalltxt()
  (setq textSize (getvar "TextSize"))
  (setq textSize (+ textSize (/ textSize 10)))

  (setq obj (entsel))
  (setq ent (car obj))
  (setq pnt (cadr obj))

;;;  (AddTextAtPoint Item_Number ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))

  (AddTextAtPoint Item_Size ent pnt)
  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))

;;;  (AddTextAtPoint Item_Elevation ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize TextSize TextSize) (caddr pnt)))
;;;
;;;  (AddTextAtPoint Item_Alias ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))
;;;
;;;  (AddTextAtPoint Item_Set ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))
;;;
;;;  (AddTextAtPoint Item_Length ent pnt)
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))
;;;
;;;  (AddTextAtPoint Item_Custom ent pnt "Spool")
;;;  (setq pnt (list (car pnt) (+ (cadr pnt) TextSize) (caddr pnt)))

  (princ)
)&lt;/PRE&gt;&lt;P&gt;The Lisp came from here and I've commented out the sections for other annotation types...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.xtracad.com/forum/index.php?topic=13151.0" target="_blank"&gt;http://www.xtracad.com/forum/index.php?topic=13151.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shoutout to Josh Merchant/Midlands Mechanical, the author.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run the Lisp to tag one end. Then Hold the TAB key while you run the Lisp to tag the other end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 17:00:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7645131#M2942</guid>
      <dc:creator>dyoung</dc:creator>
      <dc:date>2017-12-22T17:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Size annotations, annotating both ends</title>
      <link>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7648701#M2946</link>
      <description>&lt;P&gt;Thanks, I'll try this out, as well as check out the link.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2017 11:59:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fabrication-cadmep-forum/size-annotations-annotating-both-ends/m-p/7648701#M2946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-26T11:59:10Z</dc:date>
    </item>
  </channel>
</rss>

