Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!

Allow (not) when assigning Visible to a parameter

In the Family Editor, you can Associate "Visible" to a parameter.

But more often than not, when you have one thing Visible, you have something else that needs to be hidden.

Currently, you must create another parameter and make it's formula = not(OtherParameter)

 

If we could simply use not (OtherParameter) directly in the Associate box, it would save a lot of duplicate, single-use parameters and clean up the long list of Family parameters.

 

Perhaps a checkbox on the Associate Family Parameter dialog to toggle Visible or Hidden

Comentarios
Advisor
Advisor

I'd like to amend my previous statement.

We often need to create redundant parameters, but sometimes we need to create the opposite parameter.

I'm doing a family now that ONLY hides some items when certain conditions are met.  I do not have a corollary item that DOES display.

So I need to create one parameter for example Shows who's only use is in the formula for another parameter notShown = not(Shown) so that notShown can be used to turn off the item in the Visible's Associate Family Parameter dialog.

 

Just reading that explanation helps understand why my suggestion would make thing so much simpler.

Anonymous

Taking this one step further, I have many families where I have more than 2 choices. It would be great if there was a 'button-like' parameter, or be able to 'link' several visibility parameters. So, if I chose Option A, options B and C would turn off. If I chose B, options A an C would turn off.

 

To accomplish this currently you have to add 2 or more additional parameters to control visibility.

Mentor
Mentor
Mentor
Mentor

Or this one (it's actually the one I was thinking of when I read your post).

 

https://forums.autodesk.com/t5/revit-ideas/visbility-setting-to-optionally-use-formula/idi-p/6419875

Advisor
Advisor

@doni49 Your first suggestion is a separate idea (the 2nd IS the same), however, I'd actually prefer that it was implemented (being able to hide a parameter from the user in the project) instead of this one. I actually don't mind creating a bunch of "Show..." parameters because then I can see the logic (the formula is visible in the Family Types dialog), which makes it fairly easy to manage. If that same calculation was buried in a separate dialog attached to the Visibility checkbox, it could get cumbersome to check (AND to update).

 

So in summary, even though I also wanted it when I first started making my own families, I vote AGAINST this idea, and FOR being able to hide parameters (so we can see & manage the formulas in the Family Types dialog, but be able to hide them from users for a cleaner interface).