Create a second debit parameter

Create a second debit parameter

Anonymous
Not applicable
691 Views
6 Replies
Message 1 of 7

Create a second debit parameter

Anonymous
Not applicable

Hello,

In order to finish a dynamo script which calculate the pipe diameter in adduction, I need a debit and a coefficient as parameters for each pipe.

So I used the debit parameter but I also need a second parameter which calculate the sum of the coefficient (like the debit). So I created a shared parameter in the sanitary families called Adduction and I put the same parameter for the pipes in the project. But how can I say to Revit to calculate the sum of this coefficient in the pipe (like he does with debit) ?

Thank you

0 Likes
692 Views
6 Replies
Replies (6)
Message 2 of 7

iainsavage
Mentor
Mentor

I think there is a translation problem here.

It is not clear from your description what it is you are trying to achieve.

From your sketch though it looks as though you are trying to add flow units together - does Revit not do this for you? Do you really need Dynamo and custom parameters to do this?

0 Likes
Message 3 of 7

Anonymous
Not applicable

@iainsavage I think translation error is correct - If I'm translating right, adduction=intake and debit=output (or flow rate)... I think this is a dynamo script to automatically change pipes to the correct size for the flow? I'm not sure what to do here without more info though

0 Likes
Message 4 of 7

iainsavage
Mentor
Mentor

But Revit does pipe sizing - why the need for Dynamo?

0 Likes
Message 5 of 7

Anonymous
Not applicable

Ok sorry, I hope to be clearer this time. I just need to have 2 different flow rate in the pipes as you can see on the following sketch. 
Thank you!

0 Likes
Message 6 of 7

Anonymous
Not applicable

Actually, I found how to make it, but Not the better way. I use only one flow rate. But I created 2 differents parameter in the pipes (flow rate1 and flow rate2). So with Dynamo, I put the first debit in the sanitary family and put the flow rate in pipes calculated by Revit in the first parameter (flow rate1), and secondly dynamo put the second flow rate in the sanitary family (replace the first one) and put the flow rate calculated in pipes in the second parameter (flow rate2). Like that for every pipes I have the couple parameters calculated by Revit. 

But I just want to know if it's possible by not using Dynamo and put 2 flow rate parameters for one sanitary family and revit calculate the 2 flow rate in every pipes?

(I need to have 2 flow rate for one connector because I have to use 2 different methods to calculate the dimension of the pipes and it's 2 different flow rate). 
Hope it's understable 

Message 7 of 7

RobDraw
Mentor
Mentor

That sounds like you need to use a design option.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes