- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I want to create a VBA Macro to find and list the maximum axial force (FX) for each bar in each storey of a building, along with the relevant load case details.
what I'm struggling with is to select bars by storey and then fitch for each bar the maximum Fx value with the corresponding Combination number, Also I'm struggling to output the Bar Label (section) not the name this is the step I'm following
- Iterate over each storey.
- Select all bars within the current storey. ( if possible only columns)
- Get all combination
- Find the maximum FX value for each bar with the corresponding Combination within the storey.
- Write the results to the worksheet.
to result in the end with a table like this : I'm attaching Excel to what i arrived so far thank you.
Storey | Bar Label | FX Max (kN) | Bar Member | Bar Node | Bar Case |
Level 0 | CC 35x35 | 824 | 193 | 23 | 7 |
Level 1 | CC 35x35 | 815 | 215 | 114 | 7 |
Level 2 | CC 35x35 | 751 | 240 | 277 | 5 |
Level 3 | CC 30x30 | 611 | 287 | 355 | 16 |
Solved! Go to Solution.