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) pLC2 = CInt(objOpenSTAAD.Load.GetRepeatLoadCount)
pLC returns a value of 240
pLC2 returns a value of 0
Please note that the file actually has 62 Primary Load Cases & the rest are repeat loads.
Why is the GetRepeatLoadCount() returning 0? Is there any workaround?
Can anyone answer this? I have similar query ?