<?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 Get Label / Text boundingbox (width/height) from SharedParam on Viewsheet in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9431964#M35298</link>
    <description>&lt;P&gt;I am hoping some can point me in the right direction, i have a Titleblock with a number of Labels on these labels are ultimately populated by sharedparamaters. I am wondering is it possible given a particular viewsheet to get the boundingbox (i assume it is the boundingbox) of the Label? e.g. when editing the Titleblock i am after the area defined by the blue rectangle&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="2020-04-09_11-16-22.jpg" style="width: 353px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/751833iDFC4B7749FAED0FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2020-04-09_11-16-22.jpg" alt="2020-04-09_11-16-22.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Realistically i am after the width and height of that area define by the blue box, i thought i could get the boundingbox from the Parameters ElementID but that doest appear to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;m.thanks&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2020 10:25:35 GMT</pubDate>
    <dc:creator>Graham.Haigh</dc:creator>
    <dc:date>2020-04-09T10:25:35Z</dc:date>
    <item>
      <title>Get Label / Text boundingbox (width/height) from SharedParam on Viewsheet</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9431964#M35298</link>
      <description>&lt;P&gt;I am hoping some can point me in the right direction, i have a Titleblock with a number of Labels on these labels are ultimately populated by sharedparamaters. I am wondering is it possible given a particular viewsheet to get the boundingbox (i assume it is the boundingbox) of the Label? e.g. when editing the Titleblock i am after the area defined by the blue rectangle&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="2020-04-09_11-16-22.jpg" style="width: 353px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/751833iDFC4B7749FAED0FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2020-04-09_11-16-22.jpg" alt="2020-04-09_11-16-22.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Realistically i am after the width and height of that area define by the blue box, i thought i could get the boundingbox from the Parameters ElementID but that doest appear to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;m.thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 10:25:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9431964#M35298</guid>
      <dc:creator>Graham.Haigh</dc:creator>
      <dc:date>2020-04-09T10:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get Label / Text boundingbox (width/height) from SharedParam on Viewsheet</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9437533#M35299</link>
      <description>&lt;!-- 0646 1223 1517 --&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/09/textnote-lost-in-space.html" target="_blank"&gt;TextNote Lost in Space?&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2014/10/new-text-note-and-text-width-calculation.html" target="_blank"&gt;New Text Note and Text Width Calculation&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2017/01/textnote-rotation-forge-devcon-tensorflow-and-keras.html" target="_blank"&gt;TextNote Rotation, DevCon, TensorFlow and Keras&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2020 11:12:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9437533#M35299</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-04-12T11:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get Label / Text boundingbox (width/height) from SharedParam on Viewsheet</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9464565#M35300</link>
      <description>&lt;P&gt;Thank you for the links ive been down a rabbit hole trying to figure out where the element is that i want but i cant quite see how i get to it. If i edit my Title block i can snoop on the Selected object e.g. in the example below its Client and i can see all the properties that im after&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-left" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/759126i1A53171C44DD8D98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i then call GetElement on the &lt;U&gt;document&lt;/U&gt; object with the same elementID i get nothing returned i am assuming that is because i need to ask the Titleblock/Family for this element rather than the document object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 11:12:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9464565#M35300</guid>
      <dc:creator>Graham.Haigh</dc:creator>
      <dc:date>2020-04-23T11:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get Label / Text boundingbox (width/height) from SharedParam on Viewsheet</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9464723#M35301</link>
      <description>&lt;P&gt;Well i &lt;STRONG&gt;completely overlooked&lt;/STRONG&gt; i was in the Family editor when i was snooping so i would need to do something along these lines to access the Textelement&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;        Dim fInst As FamilyInstance = doc.GetElement(New ElementId(632736))
        Dim fm As Family = fInst.Symbol.Family
        Dim fmDoc As Document = doc.EditFamily(fm)

        Dim f1 = fmDoc.GetElement(New ElementId(635802))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 12:15:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-label-text-boundingbox-width-height-from-sharedparam-on/m-p/9464723#M35301</guid>
      <dc:creator>Graham.Haigh</dc:creator>
      <dc:date>2020-04-23T12:15:10Z</dc:date>
    </item>
  </channel>
</rss>

