I plan to get the total number of primary load cases & repeat loads, thus, I tried below code
Dim objOpenSTAAD As Object = GetObject(, "StaadPro.OpenSTAAD")
Dim pLC As Int32, pLC2 As Int32 Dim pLCn() As Int32 pLC = CInt(objOpenSTAAD.Load.GetPrimaryLoadCaseCount…