Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Different ratio result by API than manual method

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
Anonymous
485 Views, 5 Replies

Different ratio result by API than manual method

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:

psanchez_0-1620147799815.png

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!

5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

Please , @Rafal.Gaweda any idea about this issue?

 

Thanks a lot.

Message 3 of 6
Anonymous
in reply to: Anonymous

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.

Message 4 of 6
Rafal.Gaweda
in reply to: Anonymous

Hi @Anonymous 

 

I am afraid You are right.

 

ansiratio.jpg

 

I will register it for further investigation and fixing.

Thank You for reporting it.

 

 



Rafal Gaweda
Message 5 of 6
Anonymous
in reply to: Rafal.Gaweda

Just it case It's could help, In 2021 version this issue happens as well.

Message 6 of 6
Anonymous
in reply to: Anonymous

Hi @Rafal.Gaweda 

 

Is this issue fixed in the HotFix? I didn't installed it yet.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report