<?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: New View3D - visible categorys in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3778014#M79922</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Excuse me, still not quite clear what are you doing and what the problem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does this mean that when you try to show the category of Cameras, error occurs? &amp;nbsp;And what doesn "it's not clear if I'm actually using it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What does "I've tried creating a template" mean? Is it a view template? or something else?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your clarification.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2013 08:51:02 GMT</pubDate>
    <dc:creator>Joe.Ye</dc:creator>
    <dc:date>2013-02-12T08:51:02Z</dc:date>
    <item>
      <title>New View3D - visible categorys</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3764790#M79919</link>
      <description>&lt;P&gt;I'm creating a new 3D view. I want to only have a select few categorys visable. The setVisable parameter true/false would mean I would have to itterate through all of the categorys. Is there a way to start with all categorys off by default? Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 04:22:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3764790#M79919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-30T04:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: New View3D - visible categorys</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3769584#M79920</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&lt;A id="link_13ca99b065c" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6447" target="_self"&gt;bthatcher&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Not quite sure I got the point.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you mean to make all element invisible first? Or do you want to get the list of all visible elements' category?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If It is the first one, you can get all visible elements via the constructor of FilteredElementCollector class. FitlterElementCollector(viewId, true)&lt;/P&gt;
&lt;P&gt;to retrieve all the visiable elements.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then hide all these elements via View.Hide(Elementset)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to get the list of all visible categories, there is no exposed API to this so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 09:11:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3769584#M79920</guid>
      <dc:creator>Joe.Ye</dc:creator>
      <dc:date>2013-02-05T09:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: New View3D - visible categorys</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3774369#M79921</link>
      <description>&lt;P&gt;I would like to create a 3Dview with all categories off regardless of element visibility. When I iterate through them manually I'm running into problems with some categories, like Cameras. When I create the new view, I can turn on the categories I'm interested in. I've tried creating a template, but it's&amp;nbsp;not clear if I'm actually using it. How can I accomplish this? Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2013 13:18:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3774369#M79921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-09T13:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: New View3D - visible categorys</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3778014#M79922</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Excuse me, still not quite clear what are you doing and what the problem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does this mean that when you try to show the category of Cameras, error occurs? &amp;nbsp;And what doesn "it's not clear if I'm actually using it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What does "I've tried creating a template" mean? Is it a view template? or something else?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your clarification.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2013 08:51:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3778014#M79922</guid>
      <dc:creator>Joe.Ye</dc:creator>
      <dc:date>2013-02-12T08:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: New View3D - visible categorys</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3803898#M79923</link>
      <description>&lt;P&gt;I am trying to create a new 3D view with all categories off. After creating the 3D view, I've tried turning all of the categories off with...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;foreach (Category category in categorys)
                {
                    doc.ActiveView.setVisibility(category, false);
                }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But when it gets to some catgories, Cameras for example, I get the attached error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried creating a view template, with all categories off, &amp;nbsp;and assigning it when creating the view. All of the viewtemplateid's appear to be '-1'. &amp;nbsp;How can I acomplish this? Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 15:33:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/new-view3d-visible-categorys/m-p/3803898#M79923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-13T15:33:07Z</dc:date>
    </item>
  </channel>
</rss>

