<?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: Mtext Width Factor in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431830#M270099</link>
    <description>&lt;P&gt;WIDTH FACTOR isn't an option any more&amp;nbsp;in PROPERTIES, Dean.&amp;nbsp; I know it used to be, that's what I used to use.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2016 16:41:41 GMT</pubDate>
    <dc:creator>MarkFitz</dc:creator>
    <dc:date>2016-07-12T16:41:41Z</dc:date>
    <item>
      <title>Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431770#M270097</link>
      <description>&lt;P&gt;Good morning everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A quick one today.&amp;nbsp; It's been about a decade since I worked with ACAD, so I'm sure this is simple.&amp;nbsp; I used to use the width factor to adjust text to fit my page.&amp;nbsp; Pick whatever text was necessary on an individual basis.&amp;nbsp; I see width factor is now a part of style, but this changes all my text, not just the individual items I want to change.&lt;/P&gt;&lt;P&gt;Solutions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 16:21:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431770#M270097</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2016-07-12T16:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431792#M270098</link>
      <description>use PROPERTIES command if you only wish to affect one or a few text items instead of all of them by changing the default as you have done.</description>
      <pubDate>Tue, 12 Jul 2016 16:31:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431792#M270098</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2016-07-12T16:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431830#M270099</link>
      <description>&lt;P&gt;WIDTH FACTOR isn't an option any more&amp;nbsp;in PROPERTIES, Dean.&amp;nbsp; I know it used to be, that's what I used to use.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 16:41:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431830#M270099</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2016-07-12T16:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431880#M270100</link>
      <description>&lt;P&gt;Now it is hiding up in the ribbon! Double click on your mtext, Expand the formatting tab on the ribbon, and you'll see width factor at the bottom.&amp;nbsp;&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/254513iF3A9C86E8681904E/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="WF.jpg" title="WF.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 16:58:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431880#M270100</guid>
      <dc:creator>JasonArtley</dc:creator>
      <dc:date>2016-07-12T16:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431911#M270101</link>
      <description>&lt;P&gt;TEXT (if it's one word or one line why use&amp;nbsp;mtext)&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/254515i9DE8A3C4466F4365/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="1.png" title="1.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MTEXT&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/254516iDE5E28139701AD0B/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="2.png" title="2.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 17:11:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6431911#M270101</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2016-07-12T17:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432016#M270102</link>
      <description>&lt;P&gt;Thanks Jason.&lt;/P&gt;&lt;P&gt;Can you possibly show that again, but with a little bigger screen shot please.&amp;nbsp; I'm a keyboard commands kinda guy, and can't find the right button.&amp;nbsp; I'm looking under MText and don't see what you see.&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;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 17:52:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432016#M270102</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2016-07-12T17:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432042#M270103</link>
      <description>&lt;P&gt;Forgive my ignorance (pictures are great, thanks guys), but my menu across the top stops at Express Tools, I have no text editor, no featured apps, no performance.&amp;nbsp; Are these things I need to check to "unlock" so I can use them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks guys, sorry if I'm coming across as hostile or ignorant, there have been a few changes since I last used this, all positive ones so far.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:01:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432042#M270103</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2016-07-12T18:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432046#M270104</link>
      <description>&lt;P&gt;Which version of the software are you using? Do you have any Ribbons at the top of the screen?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:05:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432046#M270104</guid>
      <dc:creator>JasonArtley</dc:creator>
      <dc:date>2016-07-12T18:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432061#M270105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3167464"&gt;@MarkFitz﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you start the Mtext command, the Ribbon menu will change (context sensitive menu). the 2nd panel from the left is called Formatting and has a little drop-down arrow. If you click on it you will find the formatting option for WIDTH.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808000"&gt;Please select the Accept as Solution button if my post fully solves your issue or answers your question.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:10:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432061#M270105</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2016-07-12T18:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432083#M270106</link>
      <description>&lt;P&gt;2016 straight/regular AutoCAD&amp;nbsp;&amp;nbsp; Yes, there are ribbons at the top: home, insert, annotate, parametric, view, manage, output, add-ins, a360, and express tools.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:19:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432083#M270106</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2016-07-12T18:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432114#M270107</link>
      <description>&lt;P&gt;Aha!&amp;nbsp;&amp;nbsp;&amp;nbsp; Look at that.&lt;/P&gt;&lt;P&gt;Sometimes the simplest thing eludes us.&lt;/P&gt;&lt;P&gt;Now I have it, many, many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kudos to everyone, but how do I assign a solution when everyone did their part as a team...&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:32:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/6432114#M270107</guid>
      <dc:creator>MarkFitz</dc:creator>
      <dc:date>2016-07-12T18:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/7459272#M270108</link>
      <description>&lt;P&gt;Just an FYI in 2018 the Width Factor is NOT present in properties menu when using Mtext. It's there for Text and Attribute Definitions&amp;nbsp;which I find odd. Why is it only missing in Mtext where it's most used?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 18:50:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/7459272#M270108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-13T18:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/7459291#M270109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The width option is found in the Ribbon&amp;nbsp; in the formatting panel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/412869i67B39AA641E30ADD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Width factor is typically assigned in the text style. IN my opinion, the width factor in the formatting panel is used more to apply a width override.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 18:56:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/7459291#M270109</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2017-10-13T18:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10397655#M270110</link>
      <description>&lt;P&gt;The method now known is for changing one Mtext at a time. Thanks for your advise but am wondering whether there is away of changing width factor for several Mtexts at once?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 10:06:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10397655#M270110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-17T10:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10397682#M270111</link>
      <description>&lt;P&gt;Then you should start a new thread. This one is marked as solved and your question is different. Slightly, but still different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you checked your text style?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 10:16:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10397682#M270111</guid>
      <dc:creator>RobDraw</dc:creator>
      <dc:date>2021-06-17T10:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10397965#M270112</link>
      <description>&lt;P&gt;It seems closely-enough related that someone looking for the same thing may find this topic.&amp;nbsp; For Mtext that is &lt;EM&gt;not already given a width-factor override starting at the beginning of it&lt;/EM&gt;, this [&lt;EM&gt;one&lt;/EM&gt; way of doing it -- there are others] in simplest terms seems to work:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(defun C:MTW ; = MText Width
  (/ ss wf n mt)
  (if
    (and
      (setq ss (ssget "_:L" '((0 . "MTEXT"))))
      (setq wf (getreal "\nWidth Factor to apply: "))
    ); and
    (repeat (setq n (sslength ss)); then
      (setq mt (ssname ss (setq n (1- n))))
      (setpropertyvalue mt "Contents"
        (strcat "{\\W" (rtos wf 2) ";" (getpropertyvalue mt "Contents") "}")
      ); setpropertyvalue
    ); repeat
  ); if
  (princ)
); defun&lt;/LI-CODE&gt;
&lt;P&gt;I tried it with Mtext that has internal width-factor applied to part of it &lt;EM&gt;not&lt;/EM&gt; at the beginning, and with Mtext that starts out with a &lt;EM&gt;color&lt;/EM&gt; override, and it worked.&amp;nbsp; I haven't tried anything close to all possible combinations of Mtext-editor override possibilities, so there may be cases where it doesn't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that &lt;STRONG&gt;&lt;FONT color="#000000"&gt;(rtos)&lt;/FONT&gt;&lt;/STRONG&gt; will return the width factor as a text string &lt;EM&gt;to the number of decimal places in your current Units setting&lt;/EM&gt; [&lt;STRONG&gt;&lt;FONT color="#000000"&gt;LUPREC&lt;/FONT&gt;&lt;/STRONG&gt; System Variable].&amp;nbsp; If that might be fewer than your typed entry, it will round it [i.e. if you have &lt;FONT color="#000000"&gt;&lt;STRONG&gt;LUPREC&lt;/STRONG&gt;&lt;/FONT&gt; set to 2 decimal places, and you enter a width factor of 2.125, it will become "2.13"].&amp;nbsp; If that's a risk you care about, you can add the maximum precision of 8 decimal places in the routine:&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#000000"&gt;(rtos wf 2 &lt;FONT color="#0000FF"&gt;8&lt;/FONT&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;.&amp;nbsp; That will usually put extraneous zeros in the Contents [but they won't affect the outcome], unless you set the &lt;STRONG&gt;&lt;FONT color="#000000"&gt;DIMZIN&lt;/FONT&gt;&lt;/STRONG&gt; System Variable to a value that suppresses trailing zeros [read about it in Help].&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 11:56:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10397965#M270112</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-06-17T11:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10398189#M270113</link>
      <description>How do execute this command globally to adjust all my Mtexts to a desired value?</description>
      <pubDate>Thu, 17 Jun 2021 13:07:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10398189#M270113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-17T13:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10398366#M270114</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;How do execute this command globally to adjust all my Mtexts to a desired value?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Change this line:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(setq ss (ssget "_:L" '((0 . "MTEXT"))))&lt;/LI-CODE&gt;
&lt;P&gt;to this:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(setq ss (ssget "_X" '((0 . "MTEXT"))))&lt;/LI-CODE&gt;
&lt;P&gt;I'm not sure of a way [there may be one] to combine the &lt;FONT color="#000000"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;-for all and &lt;STRONG&gt;&lt;FONT color="#000000"&gt;:L&lt;/FONT&gt;&lt;/STRONG&gt;-for-not-on-Locked-Layer modes in one selection.&amp;nbsp; If that's a concern, it could be made to find them all, and check each for being on an unlocked Layer before changing its width factor.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 14:03:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10398366#M270114</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-06-17T14:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mtext Width Factor</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10556295#M270115</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;, the LISP that you provided does not work if the MTEXT width does not equal to 1. This is because the contents of the MTEXT changes if the width does not equal to 1.&lt;/P&gt;&lt;P&gt;I was trying to update your LISP with a IF but I did not get it to work.&lt;/P&gt;&lt;P&gt;Any idea how this can be fixed?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;		(repeat (setq n (sslength ss))
			(setq mt (ssname ss (setq n (1- n))))
			(if (= (vl-string-search (getpropertyvalue mt "Contents") ";") nil)
				(setpropertyvalue mt "Contents"
				(strcat "{\\W" (rtos wf 2) ";" (getpropertyvalue mt "Contents") "}")
				)
				(setpropertyvalue mt "Contents"
					(setq idx (vl-string-position (ascii ";") (getpropertyvalue mt "Contents")))
					(setq txt2 (substr ((getpropertyvalue mt "Contents") (idx +1) (n-idx-1))))
					(strcat "{\\W" (rtos wf 2) ";" (txt2) "}")
				)
			)
		)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 18 Aug 2021 21:56:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/mtext-width-factor/m-p/10556295#M270115</guid>
      <dc:creator>Owackenreuther</dc:creator>
      <dc:date>2021-08-18T21:56:22Z</dc:date>
    </item>
  </channel>
</rss>

