Formula to control visibility based on selected family type in a nested Family?

Formula to control visibility based on selected family type in a nested Family?

laura.johanssonPN37Y
Advocate Advocate
613 Views
2 Replies
Message 1 of 3

Formula to control visibility based on selected family type in a nested Family?

laura.johanssonPN37Y
Advocate
Advocate

Hi all, 

I am creating a nested family for accessible toilets. In that family I would like to have the option between 2-3 basins. The different basing will have different taps and other accompanying plumbing fixtures. Is there a way that I can create a formula for the accompanying plumbing fixtures that states "IF Basin type A is selected, then yes to visibility" kind of thing? Or will I have to have the classical not(Basin type A) visibility parameter applied to all the accessories?

 

Thanks in advance! 🙂

 

 

0 Likes
Accepted solutions (1)
614 Views
2 Replies
Replies (2)
Message 2 of 3

L.Maas
Mentor
Mentor
Accepted solution

It is possible with limited amount of types. Basically for all the types you can choose you have to create a parameter. Then with a formula you can choose the value of that parameter (containing the type).

See this YouTube Video from Alfredo Medino, explaining the process.

 

I rarely use this method and tend to choose for visbility parrameters, instance parameters (let user decide) or make use of type catalogs.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 3 of 3

laura.johanssonPN37Y
Advocate
Advocate

Thank you Louis, that is exactly what I was after. I was halfway there already, but I forgot the Integer part. 

0 Likes