<?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: PROVIDING TEXT BOX TO THE DIMENSION in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489821#M174207</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/548549"&gt;@JoistDetailer&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... How would one "step thru" the exploded dimension?&amp;nbsp; Can you create a selection set of the exploded entities?&amp;nbsp;&amp;nbsp;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever you Explode, the resulting pieces become the "Previous" selection, so&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;(ssget "_P")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would give you that as a selection set.&amp;nbsp; Given that, do you know how to work through that until you find an Mtext object to use your other clouding routine(s) on?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 19:58:43 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2018-12-27T19:58:43Z</dc:date>
    <item>
      <title>PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112021#M174194</link>
      <description>&lt;P&gt;IS THERE ANY WAY WE CAN PROVIDE A TEXT BOX AROUND THE DIMENSIONS USING A LISP ROUTINE&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 17:55:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112021#M174194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-05T17:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112056#M174195</link>
      <description>&lt;P&gt;Click on the frame around text in the Dim Settings, no need for the routine.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:08:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112056#M174195</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2018-07-05T18:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112095#M174196</link>
      <description>&lt;P&gt;NOW FOR THE RECORD HERE I WANNA PLAY AROUND WITH THAT RECTANGLE FOR EXAMPLE I WANT TO CONVERT THE TEXT BOX INTO CLOUD&amp;nbsp;. BUT IF I PROVIDE FRAME AROUND TEXT I AM UNABLE TO DO THAT.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:20:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112095#M174196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-05T18:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112209#M174197</link>
      <description>&lt;P&gt;Explode the dim and tcircle ☺&lt;/P&gt;
&lt;P&gt;What is cloud thing?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:57:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112209#M174197</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2018-07-05T18:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112225#M174198</link>
      <description>&lt;P&gt;I WANNA MODIFY THE DIMENSION IN NEAR FUTURE. SO I DONT WANNA EXPOLDE IT...&lt;/P&gt;&lt;P&gt;SEE THE BELOW SNIP FOR THE CLOUD THINGY...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DIM2.JPG" style="width: 915px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/519866i144212A69E1C90FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="DIM2.JPG" alt="DIM2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 19:05:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112225#M174198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-05T19:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112408#M174199</link>
      <description>BOX or nothing: no cloud option to date that is integral to the DIM object.</description>
      <pubDate>Thu, 05 Jul 2018 20:24:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112408#M174199</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2018-07-05T20:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112412#M174200</link>
      <description>&lt;P&gt;Sorry,&amp;nbsp;Patchy is right..............try this:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Text box for dims." style="width: 768px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/519894i62D030B20B53ABA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dim-text-box.PNG" alt="Text box for dims." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Text box for dims.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:27:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112412#M174200</guid>
      <dc:creator>ChicagoLooper</dc:creator>
      <dc:date>2018-07-05T20:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112469#M174201</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;NOW FOR THE RECORD HERE I WANNA PLAY AROUND WITH THAT RECTANGLE FOR EXAMPLE I WANT TO CONVERT THE TEXT BOX INTO CLOUD&amp;nbsp;. BUT IF I PROVIDE FRAME AROUND TEXT I AM UNABLE TO DO THAT.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Putting a standard text box around is not difficult, whether by making it part of the Dimension Style to include a frame, or imposing it on individual Dimensions, without removing it from any that already have it,&amp;nbsp;with [if 'dimobj' is the Dimension entity converted to a VLA object]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(vla-put-TextGap dimobj (- (abs (vla-get-TextGap dimobj))))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if you want to mess with it, other than with its spacing around the text, as you say, that won't work.&amp;nbsp; I don't see anything in Dimension entity data or VLA properties that could give you the &lt;EM&gt;length&lt;/EM&gt;&amp;nbsp; of the text part, which would be needed to build such a box to mess with.&amp;nbsp; The one way that seems possible would be to &lt;EM&gt;temporarily&lt;/EM&gt;&amp;nbsp; Explode the Dimension, find the text part [which will be (entlast) for many Dimension varieties, but not all, so it would probably mean stepping through the results of&amp;nbsp;Explode to find it], getting its bounding box to use for making the box/cloud, and then Undoing the Explode.&amp;nbsp; Does that sound like it would work?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:52:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8112469#M174201</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-07-05T20:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8113246#M174202</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Go to Dimension Style &amp;gt; Text Tab &amp;gt; Check Draw frame around text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 07:20:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8113246#M174202</guid>
      <dc:creator>jayhar</dc:creator>
      <dc:date>2018-07-06T07:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489240#M174203</link>
      <description>&lt;P&gt;Kent,&lt;/P&gt;
&lt;P&gt;How would one "step thru" the exploded dimension?&amp;nbsp; Can you create a selection set of the exploded entities?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like the OP, I'm interested in creating a commend that prompts the user for a dimension, then will draw a "cloud" around *just the dimension text*.&amp;nbsp; I already have a routine that draws several variations of a "attention-grabber" (cloud, a "3D" box, etc) around multi-text or multiple lines of s-text.&amp;nbsp; I've been wanting to add dimension text to that, but can't figure out how to determine the "extents" and location (inside arrows, outside, leader, etc) of the text...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 13:56:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489240#M174203</guid>
      <dc:creator>JoistDetailer</dc:creator>
      <dc:date>2018-12-27T13:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489249#M174204</link>
      <description>The customization forums are over here, start with the LISP for your new post, show screenshots of what you want &lt;A href="https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Dec 2018 14:02:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489249#M174204</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2018-12-27T14:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489516#M174205</link>
      <description>&lt;P&gt;OK...I guess I was just trying to "bump up" the OP's question to see if anyone had more pertinent answers.&amp;nbsp; Granted, his original question was vague, but he followed up quickly with what he actually wanted...a way to get the coordinates for a bounding box for the text portion of an associative dimension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks anyway...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 16:51:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489516#M174205</guid>
      <dc:creator>JoistDetailer</dc:creator>
      <dc:date>2018-12-27T16:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489718#M174206</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;, &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/548549"&gt;@JoistDetailer&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I did this a long time ago, to make textmask command work on dimensions.&lt;/P&gt;
&lt;P&gt;I also had to make it work on mtext and mleader text. Its not trivial.&lt;/P&gt;
&lt;P&gt;For dtext, you use the lisp (textbox...) function.&lt;/P&gt;
&lt;P&gt;For mtext, its real fun. You essentially have to parse the mtext string, to figure out what the mtext would look like if it were exploded, then use textbox function to figure the width and height of things.&lt;/P&gt;
&lt;P&gt;Its complex, and not perfect, but fine for things like dims and mleader that don't have tons of format strings like bullets.&lt;/P&gt;
&lt;P&gt;I give credit to Lee Mac on much of it. Check out his MLeader Textbox function to dig into it.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:55:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489718#M174206</guid>
      <dc:creator>JamesMaeding</dc:creator>
      <dc:date>2018-12-27T18:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489821#M174207</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/548549"&gt;@JoistDetailer&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... How would one "step thru" the exploded dimension?&amp;nbsp; Can you create a selection set of the exploded entities?&amp;nbsp;&amp;nbsp;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever you Explode, the resulting pieces become the "Previous" selection, so&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;(ssget "_P")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would give you that as a selection set.&amp;nbsp; Given that, do you know how to work through that until you find an Mtext object to use your other clouding routine(s) on?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:58:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489821#M174207</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-12-27T19:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: PROVIDING TEXT BOX TO THE DIMENSION</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489829#M174208</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/548549"&gt;@JoistDetailer&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Like I say, this is already solved just using code, no hacking of entities involved.&lt;/P&gt;
&lt;P&gt;To specifically answer your question though, to get results of an explode command, on however many things, you would do this:&lt;/P&gt;
&lt;P&gt;1) select the items to explode&lt;/P&gt;
&lt;P&gt;2) before the explode, save the last entity name in the drawing database, that is not one of the items to explode&lt;/P&gt;
&lt;P&gt;3) run the explode on the selected items&lt;/P&gt;
&lt;P&gt;4) after, loop backwards from the end, through the space involved, until you hit the ename saved in step 2.&lt;/P&gt;
&lt;P&gt;I do that for my "explode to group" command.&lt;/P&gt;
&lt;P&gt;Careful about the case where you are exploding everything. Easy if you can code the rest.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 20:10:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/m-p/8489829#M174208</guid>
      <dc:creator>JamesMaeding</dc:creator>
      <dc:date>2018-12-27T20:10:42Z</dc:date>
    </item>
  </channel>
</rss>

