Hi.
I want to get the equally distributed loads on the STAAD modelI used the following method Dim oLoad As Object = Nothing '= oStaad.Load
Dim arrdir() As Integer Dim arrForce() As Double Dim arrD1() As Double Dim arrD2() As Double Dim arrD3() As Double SetLoadActive(5) GetUDLLoadCount(10) wkUniLoad = New uniLoad If ufCnt > 0 Then ReDim arrdir(ufCnt - 1) ReDim arrForce(ufCnt - 1) ReDim arrD1(ufCnt - 1) ReDim arrD2(ufCnt - 1) ReDim arrD3(ufCnt - 1) GetUDLLLoads(curAmemNo, arrdir, arrForce, arrD1, arrD2, arrD3)
Number/force/direction/D2 can be obtained correctlyufCnt /arrForce/arrdir/arrD2
But D1/D3arrD1/arrD3 cannot be obtained correctly
D3 always returns zeroD1 appears to contain the value of D3
Please let me know if you know how to get it correctly.
Thank you
Translated with www.DeepL.com/Translator (free version)
Which version of STAAD.Pro you are using?
There is a BUG (#488332) with the function GetUDLLoads which has been fixed in the latest version of STAAD.Pro (22.10.00.153). I would suggest you to check the issue in the latest version
I used version 22.09.00.115
I'll try to install and check it later.