Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Conditional statement for Storm Drainage Piping Size Schedule

debimmanager
Advocate
Advocate

Conditional statement for Storm Drainage Piping Size Schedule

debimmanager
Advocate
Advocate

 

Hi,

 

 

I have an issue with how I can use the conditional statement in this topic mentioned in the title. I will show you with some photos what happens and I will appreciate if someone can help me. I will accept suggestions because I do not know if I am doing well and I do not know how to generate a good conditional statement. And I would appreciate it if you do not propose anything to me with Dynamo because I do not know anything about that program.

 

 

 

The idea is to find a way to verify my pipe size with a conditional statement by relating the table with the state code.

 

 

 

Thank you,

 

 

 

I need to verify my pipe size and I don't know how to put a good conditional statementI need to verify my pipe size and I don't know how to put a good conditional statementThe last two columns are the ones that I need to verify, this is a guide to followThe last two columns are the ones that I need to verify, this is a guide to followThis is ths state code that I need to verify my results - 5" per Hr.This is ths state code that I need to verify my results - 5" per Hr.

Kudo if you consider it and mark as a solution if it helps you solve your issue.
Thank you!!

Deivis E.
REVIT® MEP Specialist

0 Likes
Reply
1,434 Views
6 Replies
Replies (6)

ToanDN
Consultant
Consultant

If (pipe size/1 = req pipe size, 1<2, 1>2)

 

This is the formula for the Yes/No parameter.  Replace the parameters in the formula with the one you actually have.

debimmanager
Advocate
Advocate

This part works well @ToanDN thank you so much. 

 

I need the other conditional statement that is the most important because it is the one that verifies me by the state code if you go for an example of 657 SF that has the table should give me an error or warning whatever etc, and with the conditional verify, but I do not know how to relate the code table to my schedule. Anyway, thank you very much.

Kudo if you consider it and mark as a solution if it helps you solve your issue.
Thank you!!

Deivis E.
REVIT® MEP Specialist

0 Likes

ToanDN
Consultant
Consultant

Create a Key Schedule for the Table 1106.3 to associate the Piping Size to the Roof Area.  If you can share a stripped down version of your Revit file I can show you.  I am not quite up to typing a tutorial right now 😉

0 Likes

debimmanager
Advocate
Advocate

That is what I did a key schedule, but the problem is that I do after that, my friend. It is my first time that I did this. I created some conditional statement with the key schedule that Revit run a message something like that "inconsistent units" and I do not know how to solve this issue completely.

 

I realize that you should very busy, but  I can not share the file. Thank very much my friend, I will continue to try.

Kudo if you consider it and mark as a solution if it helps you solve your issue.
Thank you!!

Deivis E.
REVIT® MEP Specialist

0 Likes

ToanDN
Consultant
Consultant

Add "/1" after the parameter in the formula to neutralize the units so that you won't get the errors.  Look at my formula above.

 

By the way, that formula for the Yes/No parameter can be simplified to read:

 

pipe size/1 = req pipe size

0 Likes

cvoight
Contributor
Contributor
Inconsistent units means you need to divide the units out. If you're comparing pipe size in inches to the required pipe size as number, you can: divide the pipe size by 0' - 1", multiply the required pipe size by 0' - 1", or (in the future) use a required pipe size parameter that's in units of inches (length).
0 Likes