How to hide window family host wall on editor?

How to hide window family host wall on editor?

Anonymous
Not applicable
567 Views
1 Reply
Message 1 of 2

How to hide window family host wall on editor?

Anonymous
Not applicable

I have downloaded several examples of Revit Families with a host wall. In these families the host wall is hidden, not visible in the family editor.
How would it be possible to hide the host from the family editor when creating the whole family via c # code, using a generic template ?.

I enclose two examples, one 75052.rfa, hidden host wall and another 1 1 a-01.rfa, visible host wall. How can I configure the second example as the first when creating the family using code C #.

0 Likes
568 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

I would assume that HideElements works in the family definition context just as well as in a project context:

 

https://www.revitapidocs.com/2020/6b0ae8d1-776a-ad0d-577d-ffdc11673019.htm

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes