<?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: Seeking current MText formatting codes in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12477443#M19752</link>
    <description>&lt;P&gt;Thanks for mentioning, the&lt;FONT face="arial black,avant garde" color="#800000"&gt;&lt;STRONG&gt;&lt;EM&gt; \c&lt;/EM&gt; &lt;/STRONG&gt;&lt;/FONT&gt;codes were added to the tip. Fields are handled in a different way (texts are being interpreted on creation, not stored as some control codes). The %%C or %%D sequences have nothing to do with MText control codes (it is a plain text feature).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.arkance-systems.cz" target="_blank" rel="noopener"&gt;www.arkance-systems.cz&lt;/A&gt;&amp;nbsp; -&amp;nbsp; &lt;A href="http://www.cadforum.cz" target="_blank" rel="noopener"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 20:31:08 GMT</pubDate>
    <dc:creator>vladimir_michl</dc:creator>
    <dc:date>2024-01-04T20:31:08Z</dc:date>
    <item>
      <title>Seeking current MText formatting codes</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12475557#M19748</link>
      <description>&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For an ongoing project I am going to need a reference for MText and MLeader formatting codes. Unfortunately, a lot of the postings seem to be pretty old and I believe there have been new formatting options in recent Autocad versions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also looking for info on things like character or code that gets put in the MText for things like when the user does "Shift-Enter" (That is, creates a new line but not a new paragraph.) Or new-column character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone point me in the right direction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some of the links I have already found:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.cadforum.cz/en/text-formatting-codes-in-mtext-objects-tip8640" target="_blank" rel="noopener"&gt;CadForum Posting.&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;Unfortunately, I see that the post does not mention the lower "\c" code for true-type colors that I have found elsewhere. I also do not see info on how fields are embedded into Mtext. Nor how the %%C or %%D sequences are handled in the MText string.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://adndevblog.typepad.com/autocad/2012/07/adding-date-time-field.html" target="_blank" rel="noopener"&gt;Adding Date &amp;amp; Time Field To MText&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mtext-color-format-codes/m-p/2536950" target="_blank" rel="noopener"&gt;Mtext Color Format Codes&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Talks about true color code formatting&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-multiple-selected-mtext-tracking-kerning/m-p/9867741" target="_blank" rel="noopener"&gt;Something About Kerning In MText&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Sincerely;&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 01:19:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12475557#M19748</guid>
      <dc:creator>michellem</dc:creator>
      <dc:date>2024-01-04T01:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking current MText formatting codes</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12475604#M19749</link>
      <description>&lt;P&gt;Make some Mtext and include the kinds of formatting you're interested in, and look at the effect in the text content in entity data.&amp;nbsp; After making some, before drawing anything else, put this in at the command line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;(cdr (assoc 1 (entget (entlast))))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and you'll see how AutoCAD stores the information, including the formatting characters.&amp;nbsp; [If it's really long -- over 250 characters -- it will be in&lt;FONT face="courier new,courier" color="#000000"&gt;&lt;STRONG&gt; (assoc 3)&lt;/STRONG&gt; &lt;/FONT&gt;&lt;EM&gt;and&lt;/EM&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt; (assoc 1)&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/FONT&gt;entries.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[I happen to know off-hand that the Shift-Enter puts "&lt;STRONG&gt;&lt;FONT color="#000000"&gt;\n&lt;/FONT&gt;&lt;/STRONG&gt;" into the text string, and a new-paragraph Enter [alone] puts in "&lt;STRONG&gt;&lt;FONT color="#000000"&gt;\\P&lt;/FONT&gt;&lt;/STRONG&gt;".]&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 02:35:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12475604#M19749</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-01-04T02:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking current MText formatting codes</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12476994#M19750</link>
      <description>&lt;P&gt;Hello Kent;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry Kent but my project involves translating the text formatting used in Autocad into the text formatting used in Revit. I am therefore interested in all codes and all possibilities. Your solution essentially involves creating my own documentation of the subject. Naturally, I would prefer to avoid that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely;&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 17:01:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12476994#M19750</guid>
      <dc:creator>michellem</dc:creator>
      <dc:date>2024-01-04T17:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking current MText formatting codes</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12477085#M19751</link>
      <description>&lt;P&gt;I would probably start&amp;nbsp;&lt;A href="https://www.theswamp.org/index.php?topic=31584.0" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;at theswamp.org, free reg required.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 17:35:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12477085#M19751</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2024-01-04T17:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking current MText formatting codes</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12477443#M19752</link>
      <description>&lt;P&gt;Thanks for mentioning, the&lt;FONT face="arial black,avant garde" color="#800000"&gt;&lt;STRONG&gt;&lt;EM&gt; \c&lt;/EM&gt; &lt;/STRONG&gt;&lt;/FONT&gt;codes were added to the tip. Fields are handled in a different way (texts are being interpreted on creation, not stored as some control codes). The %%C or %%D sequences have nothing to do with MText control codes (it is a plain text feature).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.arkance-systems.cz" target="_blank" rel="noopener"&gt;www.arkance-systems.cz&lt;/A&gt;&amp;nbsp; -&amp;nbsp; &lt;A href="http://www.cadforum.cz" target="_blank" rel="noopener"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 20:31:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/seeking-current-mtext-formatting-codes/m-p/12477443#M19752</guid>
      <dc:creator>vladimir_michl</dc:creator>
      <dc:date>2024-01-04T20:31:08Z</dc:date>
    </item>
  </channel>
</rss>

