Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Parameter Conditional Formulas

5 ANTWORTEN 5
GELÖST
Antworten
Nachricht 1 von 6
a-carpentier
772 Aufrufe, 5 Antworten

Parameter Conditional Formulas

Hi everyone,

I've been playing around with parameter formulas and find them pretty useful, however I'm trying to figure out if it's possible to have a conditional formula for a parameter while still being able to manually modify the value of that parameter.

let me explain: I have a Key Plan Parameter that is "Yes/No", as well as a couple Area parameters, all "Yes/No" as well.
What I would like to achieve is if "Key Plan" is No, then all the Area parameters are no as well, however if Key Plan is Yes, then all the Area parameters could be either Yes or No, letting it up to the user to decide.

Is there a way to achieve that using conditional formulas?


Ideally, to push it even further, if there was a way to set it up in such a way that if one area is Yes, then all the other ones are No (basically having the area parameters behave like radio buttons), that would be awesome.

Thanks!
Antoine

5 ANTWORTEN 5
Nachricht 2 von 6
ToanDN
als Antwort auf: a-carpentier

You need to add one more Y/N parameter for each individual Area. Example:

- Areas: Area A, Area B, Area C
- 3 Y/N control parameters: A, B, C
- 3 Y/N parameters: AA, BB, CC
- Key Plan Y/N parameter: Key

- Assign AA, BB, CC, to Area A, Area B, Area C
- Formula for AA: if (Key, A, Key)
- Formula for BB: if (Key, B, Key)
- Formula for CC: if (Key, C, Key)

When load in project, you can use A, B, C boxes when Key is on. But if Key is off, then all Areas will be off regardless of the boxes are ticked or not.
Nachricht 3 von 6
a-carpentier
als Antwort auf: ToanDN

This works great, thanks!

I'm assuming the radio buttons-like area parameters however is not feasible, correct?

Nachricht 4 von 6
ToanDN
als Antwort auf: a-carpentier


@a-carpentier wrote:

This works great, thanks!

I'm assuming the radio buttons-like area parameters however is not feasible, correct?


 

I am not clear on this part.  Are the checked boxes not the same as the radio buttons?

Nachricht 5 von 6
a-carpentier
als Antwort auf: ToanDN

When using radio buttons, only one box can be checked at a time. So checking one unchecks the others automatically.

With the current checkboxes several of the area parameters could be Yes at the same time.

Thanks,
Antoine

Nachricht 6 von 6
ToanDN
als Antwort auf: a-carpentier

If you want that then you could create each Area as another Family, or a type of another family, nest them in and assign a Family Type parameter instead of using Y/N boxes. It would be a drop-down list to select from.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report