Hi everyone,
I'm doing a test in order to obtain the maximum ratio of a steel profile in a group code according to different design codes.
For Eurocode and AS4100 (australian) codes no problem, the ratio result are the same one.
But for ANSI/AISC 360-16 i'm getting different values, for example:
- API method -> Ratio: 0.876
- Manual Method -> Ratio: 0.58
Below a picture with both methods:
The code used for this purpose is the following:
Set RobApp = New RobotApplication
RobApp.Project.Preferences.SetActiveCode I_CT_STEEL_STRUCTURES, Dcode
'Dcode is the key to define the design code: ANSI/AISC 360-16 or EC3_2004 or ....
Dim RDmServer As IRDimServer
Set RDmServer = RobApp.Kernel.GetExtension("RDimServer")
RDmServer.Mode = I_DSM_STEEL
Dim RDmEngine As IRDimCalcEngine
Set RDmEngine = RDmServer.CalculEngine
'the part below is optional, use it if you want to set calculation parameters by the code
Dim RDmCalPar As IRDimCalcParam
Dim RDmCalCnf As IRDimCalcConf
Set RDmCalPar = RDmEngine.GetCalcParam
Set RDmCalCnf = RDmEngine.GetCalcConf
RDmCalCnf.NPointsNum = 10
Dim RdmStream As IRDimStream 'Data stream for setting parameters
Set RdmStream = RDmServer.Connection.GetStream
RdmStream.Clear
'Calculate results for all sections
RdmStream.WriteText (1) ' member(s) selection
RDmCalPar.SetObjsList I_DCPVT_GROUPS_VERIF, RdmStream 'for verification of groups
RDmCalPar.SetLimitState I_DCPLST_ULTIMATE, 1 'Set Limit State
RdmStream.Clear
RDmEngine.SetCalcConf RDmCalCnf
RDmEngine.SetCalcParam RDmCalPar
'end of calclulation parameter settings
RDmEngine.Solve Nothing
Dim RdmAllRes As IRDimAllRes
Set RdmAllRes = RDmEngine.Results
Dim RdmDetRes As IRDimDetailedRes
Set RdmDetRes = RdmAllRes.Get(1)
H18.Cells(10, 5) = RdmDetRes.GovernCaseName
H18.Cells(10, 6) = RdmDetRes.Ratio
H18.Cells(10, 3) = RdmDetRes.ProfileName
H18.Cells(10, 4) = RdmDetRes.MaterialName
Does anyone know what happens?
The strange thing is that of 3 codes it works in 2 and in one it does not.
Thanks!
Solved! Go to Solution.
Solved by Rafal.Gaweda. Go to Solution.
Dear all,
I can't solve this problem, I guess anything in previous code is not compatible with ANSI/AISC 360-16.
Could anyone know what happens?
Thanks a lot.
Hi @Anonymous
I am afraid You are right.
I will register it for further investigation and fixing.
Thank You for reporting it.
Just it case It's could help, In 2021 version this issue happens as well.
Can't find what you're looking for? Ask the community or share your knowledge.