API - Estimation of reinforcement weight for all RC Beams and RC Columns

API - Estimation of reinforcement weight for all RC Beams and RC Columns

Artur.Kosakowski
Autodesk Support Autodesk Support
2,450 Views
10 Replies
Message 1 of 11

API - Estimation of reinforcement weight for all RC Beams and RC Columns

Artur.Kosakowski
Autodesk Support
Autodesk Support

Hi all,

 

In case you need to determine the estimated weight of reinforcement of RC beams and Rc Columns from your model and you calculated their required reinforcement you can easily do this by pressing a button in the macro created by @marcinrakus (thank you Marcin).

 

This is how it works:

 

 

 

 



Artur Kosakowski
0 Likes
Accepted solutions (1)
2,451 Views
10 Replies
Replies (10)
Message 2 of 11

Artur.Kosakowski
Autodesk Support
Autodesk Support
Accepted solution

The macro itself is attached to this post.



Artur Kosakowski
Message 3 of 11

Refaat
Advisor
Advisor

Dear Artur

 

 

Thank you so much. It is really useful marco (good idea).

 

But I would like to ask you if possible to develop this macro to be more practical. On the other hand to provide us the quantity of each reinforcement diameter separately and the final results present in the tabular format.

 

 

Keep up the good work!

 

Refaat

 

0 Likes
Message 4 of 11

Jummybear
Collaborator
Collaborator

Nice API, Indeed. Slab need to be added 🙂

0 Likes
Message 5 of 11

Artur.Kosakowski
Autodesk Support
Autodesk Support

Hi @Refaat

 

But I would like to ask you if possible to develop this macro to be more practical. On the other hand to provide us the quantity of each reinforcement diameter separately

 

Unfortunately there is no access to bar diameters used for given beam or column via COM so this cannot be done until this information is available in RSA API Smiley Sad

 

and the final results present in the tabular format.

 

I'm sure somebody with Excel skills will be able to edit the macro and give it a better look Smiley Happy

 

 



Artur Kosakowski
Message 6 of 11

shulwh
Enthusiast
Enthusiast

Nice macro that makes it easier to estimate the cost of a building!

By the way, is it possible to calculate the reinforcement weight of the shear wall through API🤔?

0 Likes
Message 7 of 11

2022pcs5311
Explorer
Explorer

Hi @Artur.Kosakowski 

 

I'm trying to understand the macro on Reinforcement weight calculation but not able to get from where you have provided "resIdForLongitudinal = 1142", "resIdForTransverse = 1947". Could you please suggest me any reference from I can get this? I have tried from API also but didn't find anything related to this.

0 Likes
Message 8 of 11

Stephane.kapetanovic
Mentor
Mentor

hi @2022pcs5311 

Sometimes, column indexes are provided on the forum; other times, you may need to search for them yourself or create a bot.

It's best to ask here if you can't find them.

Best Regards

 

737Reinforcement type
921Minimum reinforcement ratio (%)
922Required reinforcement ratio (%)
923Maximum reinforcement ratio (%)
1142Provided reinforcement ratio (%)
1143Max. reinforcement area (cm2)
1144Min. reinforcement area (cm2)
1156Reinforcement parameters
1169Max. code-defined reinforcement ratio (%)
1170Min. code-defined reinforcement ratio (%)
1171Average reinforcement ratio (%)
1173Top required reinforcement (My) (cm2)
1174Bottom required reinforcement (My) (cm2)
1175Top provided reinforcement (My) (cm2)
1176Bottom provided reinforcement (My) (cm2)
1177Required reinforcement along b (cm2)
1178Required reinforcement along h (cm2)
1179Provided reinforcement along b (cm2)
1180Provided reinforcement along h (cm2)
1181Top reinforcement - distribution (My)
1182Bottom reinforcement - distribution (My)
1183Reinforcement along b - distribution
1184Reinforcement along h - distribution
1185Transversal reinforcement - type/distribution
1202Top required reinforcement (Mz) (cm2)
1203Bottom required reinforcement (Mz) (cm2)
1204Top provided reinforcement (Mz) (cm2)
1205Bottom provided reinforcement (Mz) (cm2)
1206Top reinforcement - distribution (Mz)
1207Bottom reinforcement - distribution (Mz)
1947Transverse reinforcement density (cm2/m)
6733Transversal reinforcement - type/distribution NN
8106Reinforcement type NN
9201Reinforcement Areas NN

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
EESignature
Message 9 of 11

2022pcs5311
Explorer
Explorer

Dear @Stephane.kapetanovic 

 

Thank you so much. In addition to this i need reinforcement and concrete weight separately for walls and slabs By using excel VBA. Could you please suggest me any macro file or reference for this ? This will be really grateful. 

0 Likes
Message 10 of 11

Stephane.kapetanovic
Mentor
Mentor

The provided code is for bars, specifically beams and columns. it's a topic worth considering for future development.

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
EESignature
Message 11 of 11

2022pcs5311
Explorer
Explorer

Okay, Thanks a lot.

0 Likes