<?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: ViewTitle in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3089678#M81665</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the Revit LookUp tool (contained in the Revit SDK), i can see that the view titles can be filtered using Built-in Category called OST_ViewportLabel. And the element name is View Title. Can you try using this information and element filters to access the view titles on a given sheet. Let me know you have questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;Saikat&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2011 12:04:17 GMT</pubDate>
    <dc:creator>saikat</dc:creator>
    <dc:date>2011-07-13T12:04:17Z</dc:date>
    <item>
      <title>ViewTitle</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3056022#M81662</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to get to the ViewPort﻿ view titles on sheets.&lt;/P&gt;&lt;P&gt;How can I access them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gonçalo Feio&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2011 20:01:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3056022#M81662</guid>
      <dc:creator>GonçaloFeio1321</dc:creator>
      <dc:date>2011-06-12T20:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: ViewTitle</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3085012#M81663</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the following approach to get access to the name of a viewport on a view sheet. Before running this code, please select a specific viewport and then run the code in an external command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;code_begin&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;foreach&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;Element&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; ele &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;in&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;commandData.Application.ActiveUIDocument.Selection.Elements)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; name = ele.get_Parameter(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;BuiltInParameter&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.VIEW_NAME).AsString();&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;TaskDialog&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.Show(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"Name"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;, name); &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;code_end&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Saikat&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2011 10:48:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3085012#M81663</guid>
      <dc:creator>saikat</dc:creator>
      <dc:date>2011-07-08T10:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: ViewTitle</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3086104#M81664</link>
      <description>&lt;P&gt;Thanks Saikat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that was not what I wanted.&lt;/P&gt;&lt;P&gt;I want to access the view title element itself to move it around.&lt;/P&gt;&lt;P&gt;I can already move views, but I am trying to reposition just the viewtitle.&lt;/P&gt;&lt;P&gt;Any help on that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2011 08:19:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3086104#M81664</guid>
      <dc:creator>GonçaloFeio1321</dc:creator>
      <dc:date>2011-07-09T08:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: ViewTitle</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3089678#M81665</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the Revit LookUp tool (contained in the Revit SDK), i can see that the view titles can be filtered using Built-in Category called OST_ViewportLabel. And the element name is View Title. Can you try using this information and element filters to access the view titles on a given sheet. Let me know you have questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;Saikat&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2011 12:04:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/viewtitle/m-p/3089678#M81665</guid>
      <dc:creator>saikat</dc:creator>
      <dc:date>2011-07-13T12:04:17Z</dc:date>
    </item>
  </channel>
</rss>

