This is a snip (macro code VBA) from the spreadsheet for section replace that is on the bentley website. I am trying to understand how to work with the API and VBA. I have a question: what does the strLabel do here? Thanks
That is simply the Story Label provided when adding a story in the RAM Modeler. This allows you to uniquely identify each story which uses a layout (e.g., "1" or "First" or "Mezzanine"). This copies that value into the spreadsheet to identify the stories there. I hope this helps.
Jason Coleman, PE
Bentley Systems Senior Manager Technical Content
Thank you Jason!
Hi Karthik, Can you let me know where i can find the code snippets like this. Please share the link
1104.DA Gravity Steel Beam Reactions.xlsDA Grids.xlsDA Model Merge and Move.xlsDA Section replace.xlsm
Sai, please take a look at these spreadsheets. You can get started with these.
Karthik Can you send me the code to open a new RAM model , create a grid from the code . I want to see the evolution of the model in RAm as i run my code.