Formula parameters question

Formula parameters question

mzmaso90
Advocate Advocate
542 Views
7 Replies
Message 1 of 8

Formula parameters question

mzmaso90
Advocate
Advocate

Hello Guys, Is there a parameter, set-up within Revit, that establish if a specific room reach the air-lighting requirements mad by the: (Area of glass windows/ total steppable Surface of the room itself?

I need also to set an IF formula with a visibility sintax. Is it possible to have a formula that says: IF (parameter visibility1=YES;parameter visibility2=NO)? And when typing this formula in the visibility script syntax, you can avoid to repeat the parameter of visibility2=NO and just type:NO?

 

Thank you so much for your time,

 

 

Best Regards

 

Lorenzo

0 Likes
543 Views
7 Replies
Replies (7)
Message 2 of 8

barthbradley
Consultant
Consultant

You can't evaluate a Text Parmeter in a formula, but you can evaluate a visibility or numeric Parameter and return Text. 

 

Example:

=if([Visibility Parameter],"Yes", "No") 

=if([Integer Parameter]<5,"Yes", "No") 

0 Likes
Message 3 of 8

barthbradley
Consultant
Consultant

wait a minute. Is this what you are after?

 

visibility parameter formula.png

0 Likes
Message 4 of 8

Alfredo_Medina
Mentor
Mentor

Oh, no, not again...

1 < 2, 1 > 2

just...

not(V)


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes
Message 5 of 8

barthbradley
Consultant
Consultant

huh? 

 

Oh, I get it. OP wants a Visibility Parameter automatically marked the same as another.  

0 Likes
Message 6 of 8

Alfredo_Medina
Mentor
Mentor

@barthbradley 

I am referring to the screen capture in your previous post. 


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes
Message 7 of 8

barthbradley
Consultant
Consultant

@Alfredo_Medina wrote:

@barthbradley 

I am referring to the screen capture in your previous post. 


 

I'm paid by keystrokes. 😉

 

visibility parameter formula2.png

visibility parameter formula.png

 

 

Message 8 of 8

ToanDN
Consultant
Consultant

And (if (param1, not (param2)))