<?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 Add prefix if Mtext is number in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7532514#M203407</link>
    <description>&lt;P&gt;Hello, I'm working on a project that requires 2 sets of notes on the same level, but for demolition and proposed works phases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The engineer has asked for demolition notes with a D prefix to the note numbers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D1&amp;nbsp; &amp;nbsp;Prior to any demolition....&lt;/P&gt;&lt;P&gt;D2&amp;nbsp; &amp;nbsp;Provide temporary...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so forth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The proposed works notes have a similar prefix;&lt;/P&gt;&lt;P&gt;P1&amp;nbsp; &amp;nbsp;All works to be arranged....&lt;/P&gt;&lt;P&gt;P2&amp;nbsp; &amp;nbsp;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The engineer requires this distinction between notes, as they are called out on the plan as See Note D3, See Note P5, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent an hour looking for solutions but come up blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm hopeful someone can help. Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2017 23:47:22 GMT</pubDate>
    <dc:creator>mmouvet</dc:creator>
    <dc:date>2017-11-09T23:47:22Z</dc:date>
    <item>
      <title>Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7532514#M203407</link>
      <description>&lt;P&gt;Hello, I'm working on a project that requires 2 sets of notes on the same level, but for demolition and proposed works phases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The engineer has asked for demolition notes with a D prefix to the note numbers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D1&amp;nbsp; &amp;nbsp;Prior to any demolition....&lt;/P&gt;&lt;P&gt;D2&amp;nbsp; &amp;nbsp;Provide temporary...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so forth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The proposed works notes have a similar prefix;&lt;/P&gt;&lt;P&gt;P1&amp;nbsp; &amp;nbsp;All works to be arranged....&lt;/P&gt;&lt;P&gt;P2&amp;nbsp; &amp;nbsp;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The engineer requires this distinction between notes, as they are called out on the plan as See Note D3, See Note P5, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent an hour looking for solutions but come up blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm hopeful someone can help. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 23:47:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7532514#M203407</guid>
      <dc:creator>mmouvet</dc:creator>
      <dc:date>2017-11-09T23:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7532741#M203408</link>
      <description>&lt;P&gt;Typically I use the bullet numbering tool from the mtext editor... But in your case, maybe it would be simpler to just type the require prefix &amp;amp; number (manually) and then use the tab function (you can adjust the width to your desire)....&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 03:04:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7532741#M203408</guid>
      <dc:creator>JFN_KSH</dc:creator>
      <dc:date>2017-11-10T03:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7534433#M203409</link>
      <description>&lt;P&gt;Are those notes separate Text objects?&amp;nbsp; Or are [for example] D1 and D2 parts of the same Mtext object?&amp;nbsp; The former wouldn't be too hard to work with.&amp;nbsp; The latter would also be imaginable, but more complex -- a routine could search for new-line characters followed immediately by numerical characters, if there would never be any instance of such a combination that you &lt;EM&gt;don't&lt;/EM&gt;&amp;nbsp; want to have the letter prefix added to.&amp;nbsp; But if the Mtext might have any internal formatting overrides, the code characters for those&amp;nbsp;sometimes come before the first text-content character, which would make it a lot more difficult....&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 15:28:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7534433#M203409</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-11-10T15:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7535115#M203410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1076984"&gt;@mmouvet&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The numbering of lists in MTEXT is not terribly flexible.&amp;nbsp; You might check the add-ins in the &lt;A href="https://apps.autodesk.com/ACD/en/List/Search?isAppSearch=True&amp;amp;searchboxstore=ACD&amp;amp;facet=&amp;amp;collection=&amp;amp;sort=&amp;amp;query=mtext" target="_blank"&gt;Autodesk App Store&lt;/A&gt;. It looks like there a couple there that might allow you to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;Please select the &lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt; button if my post solves your issue or answers your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 18:59:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7535115#M203410</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2017-11-10T18:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7535318#M203411</link>
      <description>&lt;P&gt;Looking at others' Replies, I'm starting to wonder....&amp;nbsp; Are you talking about adding a letter prefix to leading numbers in &lt;EM&gt;existing already-drawn&lt;/EM&gt;&amp;nbsp; notes [my assumption, from the Subject line], or&amp;nbsp;some kind of automatically prefixing &lt;EM&gt;in the process of drawing&lt;/EM&gt;&amp;nbsp; notes [apparently what some&amp;nbsp;assume, from talk of bullets]?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 20:11:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7535318#M203411</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-11-10T20:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7536103#M203412</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;A work around would be to:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;If the text&amp;nbsp;hasn't already been written in an MText:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- Write the text in &lt;STRONG&gt;word&lt;/STRONG&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- Give it the &lt;STRONG&gt;custom numbering&lt;/STRONG&gt; you want,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- Copy it "&lt;STRONG&gt;INSIDE&lt;/STRONG&gt;" an mtext..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;If the text is written in an MText:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- copy it from inside the MText to word,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- If it's white change it to automatic to be visible,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- Add the custom numbering you want,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- Then copy it back to Autocad "INSIDE" an MText object..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards..&lt;/P&gt;</description>
      <pubDate>Sat, 11 Nov 2017 11:08:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7536103#M203412</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2017-11-11T11:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7536222#M203413</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;P&gt;Are those notes separate &lt;FONT color="#ff99cc"&gt;[I should have said &lt;STRONG&gt;M&lt;/STRONG&gt;]&lt;/FONT&gt;Text objects?&amp;nbsp;&amp;nbsp;.... wouldn't be too hard to work with. ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For instance, in simplest terms, and provided they start with a number and not any internal-override formatting characters:&lt;/P&gt;
&lt;PRE&gt;(SETQ
  ss (ssget '((0 . "MTEXT")))
  pre (getstring "\nPrefix to add before initial number(s): ")
)
(repeat (setq n (sslength ss))
  (setq tent (ssname ss (setq n (1- n))))
  (if
    (wcmatch
      (setq str (vla-get-TextString (setq tobj (vlax-ename-&amp;gt;vla-object tent))))
      "#*" ; starts with numerical character
    )
    (vla-put-TextString tobj (strcat pre str))
  )
)&lt;/PRE&gt;
&lt;P&gt;You can also select a bunch of stuff that may include Mtext objects that &lt;EM&gt;don't&lt;/EM&gt;&amp;nbsp; start with a number, and they'll be left alone.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Nov 2017 13:03:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7536222#M203413</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-11-11T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7540624#M203414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1076984"&gt;@mmouvet&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana',sans-serif; color: black;"&gt;I am checking back to see if my post or others helped you with your problem. You have received some great suggestions on how to make this work. Please mark a post or posts as accepted solutions if they resolved the issue or give me a bit more detail on this issue so we can continue to work towards getting this solved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana',sans-serif; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Please hit the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana',sans-serif; color: olive;"&gt;Accept as Solution&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana',sans-serif; color: black;"&gt;&amp;nbsp;button if a post or posts solves your issue or answers your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 21:24:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7540624#M203414</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2017-11-13T21:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add prefix if Mtext is number</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7584457#M203415</link>
      <description>&lt;P&gt;Seems I posted this a few weeks ago, and must have slipped under the radar (was expecting email notifications of replies).&amp;nbsp;&lt;/P&gt;&lt;P&gt;There really isn't anything here I haven't explored, except for the App Store. Found some good ones, thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The MText editor is fairly rigid, when compared to dedicated text editors like Word. but I think there might be room for some added features (like custom bulleting).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for everyones answers and patience.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 04:03:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/add-prefix-if-mtext-is-number/m-p/7584457#M203415</guid>
      <dc:creator>mmouvet</dc:creator>
      <dc:date>2017-11-30T04:03:43Z</dc:date>
    </item>
  </channel>
</rss>

