Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

plumbing count formula issue

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
Ian_H
344 Views, 7 Replies

plumbing count formula issue

I found a family that had formulas to calculate plumbing fixtures, but it was based on 2012 IBC. I was updating the formulas for the latest California code but don't seem to be getting the correct result. The women's count is 150, so it should use 4-(150/200) which equals 3.75, but it's showing -5. 

 

Can someone help me pinpoint where the issue is?

 

Ian_H_0-1680715880435.png

 

Labels (1)
7 REPLIES 7
Message 2 of 8
ToanDN
in reply to: Ian_H

Share the family here.

Toan Nguyen
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 8
Ian_H
in reply to: ToanDN

Here it is

 

Message 4 of 8
ToanDN
in reply to: Ian_H

Your < and > are wrong in the formula below, they should be reversed.

 

if(Women > 25, (1 - (Women / 25)), if(and(Women < 25, Women > 50), (2 - (Women / 50)), if(and(Women < 50, Women > 100), (3 - (Women / 100)), if(and(Women < 100, Women > 200), (4 - (Women / 200)), if(and(Women < 200, Women > 300), (6 - (Women / 300)), 0)))))

 

After reversing > and <:

 

ToanDN_0-1680717489143.png

 

 

Toan Nguyen
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 8
Ian_H
in reply to: ToanDN

Thanks for catching that. I'm glad it's a simple fix, but I feel dumb for not catching that. lol

Message 6 of 8
Ian_H
in reply to: Ian_H

@ToanDN 

Is there a way to denote the number of decimal points you want in a number? 

 

Ian_H_0-1680793896142.png


In the screenshot you can see there is a number that is 6 decimals deep and one that is 3 decimals deep. I don't want it to round to 2 decimals. 

 

Message 7 of 8
ToanDN
in reply to: Ian_H

Format the label's units.  Example to set it to 6 decimal places.

 

ToanDN_0-1680796382457.png

 

Toan Nguyen
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 8 of 8
Ian_H
in reply to: ToanDN

Thanks again

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Technology Administrators