<?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: Is view placed in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/is-view-placed/m-p/8426393#M46017</link>
    <description>&lt;P&gt;Yes. number of sheets are not huge.&lt;/P&gt;
&lt;P&gt;So will not change and use the existing code which I am using.&lt;/P&gt;
&lt;P&gt;BTW thanks for the help and respone.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Sanjay Pandey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Nov 2018 06:37:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-27T06:37:55Z</dc:date>
    <item>
      <title>Is view placed</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-view-placed/m-p/8424280#M46015</link>
      <description>&lt;P&gt;Dear Forum members,&lt;/P&gt;
&lt;P&gt;Is there a way to find out that is a view placed in a sheet.&lt;/P&gt;
&lt;P&gt;I know a long way to do it. loop all the sheets&lt;/P&gt;
&lt;P&gt;ICollection&amp;lt;ElementId&amp;gt; views=viewSheet.GetAllPlacedViews()&lt;/P&gt;
&lt;P&gt;and then loop all elements to find if the view in question is placed or not.&lt;/P&gt;
&lt;P&gt;But is there any other solution to this except the above one may be a simple&lt;/P&gt;
&lt;P&gt;isViewPlaced()&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Sanjay Pandey&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 11:58:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-view-placed/m-p/8424280#M46015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-26T11:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is view placed</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-view-placed/m-p/8424344#M46016</link>
      <description>&lt;P&gt;Yes there is a simpler way, Sort of anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can look up the parameters VIEWPORT_SHEET_NUMBER (and VIEWPORT_SHEET_NAME). if this are set to a (string) value then this can be used to identify the Sheet on which the view is placed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to use a filtered element collector (filtering on the class and Name property) to get at the Sheet element.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be simpler to just iterate through the Sheets as you are already doing, if the number of sheets is guaranteed to be limited.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 12:42:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-view-placed/m-p/8424344#M46016</guid>
      <dc:creator>m.de.vriesTH5VM</dc:creator>
      <dc:date>2018-11-26T12:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is view placed</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-view-placed/m-p/8426393#M46017</link>
      <description>&lt;P&gt;Yes. number of sheets are not huge.&lt;/P&gt;
&lt;P&gt;So will not change and use the existing code which I am using.&lt;/P&gt;
&lt;P&gt;BTW thanks for the help and respone.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Sanjay Pandey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 06:37:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-view-placed/m-p/8426393#M46017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-27T06:37:55Z</dc:date>
    </item>
  </channel>
</rss>

