<?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: Setting visibility of category classes in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4986284#M77531</link>
    <description>&lt;P&gt;Hi Rod and Remy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since 2015 property AreAnalyticalModelCategoriesHidden in class View is read and write.&lt;/P&gt;&lt;P&gt;You can hide analytical model categories by following code:&lt;/P&gt;&lt;P&gt;View view = …;&lt;/P&gt;&lt;P&gt;view. AreAnalyticalModelCategoriesHidden = true;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrzej Trelinski&lt;/P&gt;&lt;P&gt;Revit Structure Developer&lt;/P&gt;</description>
    <pubDate>Thu, 24 Apr 2014 13:39:58 GMT</pubDate>
    <dc:creator>andrzej_trelinski</dc:creator>
    <dc:date>2014-04-24T13:39:58Z</dc:date>
    <item>
      <title>Setting visibility of category classes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4832143#M77527</link>
      <description>&lt;P class="p1"&gt;Hi,&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;There are a few new properties in the API that let you see if certain category classes are hidden or not.&lt;/P&gt;&lt;P class="p1"&gt;one example is&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;myView&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;AreAnalyticalModelCategoriesHidden&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;unfotunately you can't set this property. Is there any way to manually do this? I could set the visibility of each category manually but I dont know how to identify if a category is an analytical model one or not?&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thanks,&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Rod&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2014 10:42:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4832143#M77527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-22T10:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting visibility of category classes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4839555#M77528</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two methods that might interest you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;View&lt;SPAN class="languageSpecificText"&gt;&lt;SPAN class="cpp"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;HideCategoryTemporary&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;View&lt;SPAN class="languageSpecificText"&gt;&lt;SPAN class="cpp"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;HideCategoriesTemporary&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;These methods will hide element categories.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Also this blog post shows how to determine the category of a family:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="http://adndevblog.typepad.com/aec/2012/08/deleting-a-collection-of-elementsfamilies-the-correct-approach.html" target="_blank"&gt;http://adndevblog.typepad.com/aec/2012/08/deleting-a-collection-of-elementsfamilies-the-correct-approach.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Gopinath&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Gopinath&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 00:03:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4839555#M77528</guid>
      <dc:creator>gopinath.taget</dc:creator>
      <dc:date>2014-02-26T00:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Setting visibility of category classes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4848331#M77529</link>
      <description>I dont think this addresses my problem?&lt;BR /&gt;&lt;BR /&gt;I want to hide all Analytical Model Categories like the tickbox in the visibility/graphics menu does. I know I can hide each category individually, but how do I tell if a category is an analytical model category?&lt;BR /&gt;&lt;BR /&gt;It would be great if AreAnalyticalModelCategoriesHidden could be set and not just read from but maybe thats coming in a future version of the API.</description>
      <pubDate>Sat, 01 Mar 2014 01:17:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4848331#M77529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-01T01:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setting visibility of category classes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4850947#M77530</link>
      <description>&lt;P&gt;I encountered this problem some time ago. What I did was taking a look at the visibility graphics dialog in revit and made an internal xml of all categories that belonged to the analytical tab. After that I could loop through my selected families and check if their category was in my list, hence being an analytical model category. It may be a dirty way, but it worked for me.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 07:01:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4850947#M77530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-03T07:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setting visibility of category classes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4986284#M77531</link>
      <description>&lt;P&gt;Hi Rod and Remy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since 2015 property AreAnalyticalModelCategoriesHidden in class View is read and write.&lt;/P&gt;&lt;P&gt;You can hide analytical model categories by following code:&lt;/P&gt;&lt;P&gt;View view = …;&lt;/P&gt;&lt;P&gt;view. AreAnalyticalModelCategoriesHidden = true;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrzej Trelinski&lt;/P&gt;&lt;P&gt;Revit Structure Developer&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:39:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/setting-visibility-of-category-classes/m-p/4986284#M77531</guid>
      <dc:creator>andrzej_trelinski</dc:creator>
      <dc:date>2014-04-24T13:39:58Z</dc:date>
    </item>
  </channel>
</rss>

