beam analysis revit and dynamo

beam analysis revit and dynamo

braicodavid
Advocate Advocate
1,052 Views
5 Replies
Message 1 of 6

beam analysis revit and dynamo

braicodavid
Advocate
Advocate

Hi again, 

I have yet more questions about using dynamo and revit. 

so far I have read a set of data from an excel file in dynamo and used that to place beams into my revit model. 

from that, I have collected beam lengths and written them to the excel document. I get a list of "length" values for every beam of a certain type and that's a good start, but now I need to manage that data and It would be good if i can do this in dynamo rather than sifting through the data manually.

here is what i'd like to achieve is:

reporting the amount of beams that would need to be purchased in order to have the required amount of beams for the project ---

i.e. if we can only purchase a beam in 6m lengths, how many would I need to purchase to have the required amount. 

I would like to somehow tell dynamo to run through the beam lengths it computes and then say "is this under 6m?, if so, are there any other beams that can be cut from the remaining 6m beam?"

I hope that makes sense, basically I am trying to minimise the material we would buy, by calculating the amount we need without needing to weld/join beams.

 

Alternatively, is there a command to write a function into and excel cell? rather than dynamo computing the information, I thought a workaround would be to give excel the information and a function to work itself out.

Many thanks and best regards,

David

0 Likes
Accepted solutions (1)
1,053 Views
5 Replies
Replies (5)
Message 2 of 6

ToanDN
Consultant
Consultant

To be honest this cane be done easily via Revit native schedules without Dynamo or Excel.

Message 3 of 6

braicodavid
Advocate
Advocate

Attached is a list of all the beams I have in the project with lengths. 

Is this what i would use to calculate this? 

I'm not sure how to go about doing this.

-David

0 Likes
Message 4 of 6

ToanDN
Consultant
Consultant
Accepted solution

Create a Calculated parameter to get the the beam order quantity:

 

Beam Qty = roundup (Length/6000)

Set the field unit to zero decimal space.

Set the field format to calculate total.

Set the footer to report total.

 

Then you will have the total quantity of the beams you need to order.

 

If you can post the Revit file the do it.

 

Edit: hold off... the above may not cover short beams correctly.   For example if you have 2*2500 mm beams then you only need to order a 6000 mm beam and cut it into 2.  I will get back to you on this.

Message 5 of 6

braicodavid
Advocate
Advocate

Thanks for that,

I think that is all I will need for now, but I will have to play around with it a little more. 

are are you able to produce "if,then" statements in the parameters?

Also, when calculating the totals, the footer calculates before it rounds the numbers. (eg. there are 9 Cee section beams but the beam quantity reports 6 as the total lengths only requires 6x 6000mm beams. but as these need to be each cut from a 6000mm length, I would still need 9x 6000mm lengths.

(sorry if this is confusing, I think i'm taking leaps where I should be taking steps)

-David

0 Likes
Message 6 of 6

braicodavid
Advocate
Advocate

Sorry. apparently i cannot upload a revit template file? A .rte file?

i can't save it as a project either. i think I need a break from revit haha

0 Likes