<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculation of Steel Design, CPython3 in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11387833#M9421</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I could develop the code a bit further, and I got two results, the Ratio and Case Name. Please see the figure below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_1-1661780992641.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1109253i7B7B7AAE3B985499/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_1-1661780992641.png" alt="stefanyC6JZ7_1-1661780992641.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I also want the results from Eurocode3, for example, as red box shows in the next figure the Ny,b,Rd. But I get the following error: "AttributeError : '__ComObject' object has no attribute 'BuckStrenNbyrd'".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_2-1661781025774.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1109254i4542251C0B29E7D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_2-1661781025774.png" alt="stefanyC6JZ7_2-1661781025774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

from System import Environment
user = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

clr.AddReference(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.dll")

from RobotOM import *
from System import Object

objects = IN[0]

application = RobotApplicationClass()
project = application.Project
structure = project.Structure
labels = structure.Labels
application.Project.ViewMngr.Refresh()
project.CalcEngine.AnalysisParams.IgnoreWarnings = True
calcEngine = project.CalcEngine
calcEngine.AutoGenerateModel = True
calcEngine.UseStatusWindow = True
calcEngine.Calculate()

RDMServer = IRDimServer(application.Kernel.GetExtension("RDimServer"))
RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine(RDMServer.CalculEngine)
RDMCalpar = IRDimCalcParam(RDmEngine.GetCalcParam())
RDMCalCnf = IRDimCalcConf(RDmEngine.GetCalcConf())
RDmStream = IRDimStream(RDMServer.Connection.GetStream())

RDmStream.Clear()
RDmStream.WriteText("all")
RDMCalpar.SetObjsList(IRDimCalcParamVerifType.I_DCPVT_MEMBERS_VERIF, RDmStream)
RDMCalpar.SetLimitState(IRDimCalcParamLimitStateType.I_DCPLST_ULTIMATE,1)
RDmStream.Clear()
RDmStream.WriteText("1to4")

RDMCalpar.SetLoadsList(RDmStream)
RDmEngine.Solve(RDmStream)
RDmAllResObjType = IRDimAllResObjectType
RDmAllRes = IRDimAllRes(RDmEngine.Results())
IRDimAllResObjectType = 1

ObjCnt = RDmAllRes.ObjectsCount
RDmRetValue = IRDimMembCalcRetValue
RDmDetRes = IRDimDetailedRes(RDmAllRes.Get("1"))

Case = RDmDetRes.GovernCaseName
Ratio = RDmDetRes.Ratio
RDmCodeRes = Object
RDmCodeRes = RDmDetRes.CodeResults
Nbyrd = RDmCodeRes.BuckStrenNbyrd
#RDmCodeRes = IRDimCodeResEC3(structure(RDmCodeRes(IRDimDetailedRes.CodeResults.BuckStrenNbyrd("1"))))

OUT = Case, Ratio 



&lt;/LI-CODE&gt;&lt;P&gt;Then, I have been trying to call the attribute as line 55 shows:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDmCodeRes = IRDimCodeResEC3(structure(RDmCodeRes(IRDimDetailedRes.CodeResults.BuckStrenNbyrd("1"))))&lt;/LI-CODE&gt;&lt;P&gt;But, it is not working and I get the following error :" instance property must be accessed through a class instance [' File "&amp;lt;string&amp;gt;", line 55, in &amp;lt;module&amp;gt;\n']"&lt;/P&gt;&lt;P&gt;Could someone help me to check what is missing in the code?&amp;nbsp;To get through the comObject and Class instance.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4621108"&gt;@chjpcoi&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5952516"&gt;@cool.stuff&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3265384"&gt;@gwizdzm&lt;/a&gt;&amp;nbsp;I have seen your names in similar topics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 14:03:25 GMT</pubDate>
    <dc:creator>stefanyC6JZ7</dc:creator>
    <dc:date>2022-08-29T14:03:25Z</dc:date>
    <item>
      <title>Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11373533#M9411</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are currently upgrading our scripts from IronPhyton 2 to CPhyton 3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am trying to get the calculations of steel in Robot with Dynamo, CPython3 version. I want to achieve a result like the figure shows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_0-1661179707064.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1106588i8E9F0578100A6B9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_0-1661179707064.png" alt="stefanyC6JZ7_0-1661179707064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I get the following AttributeError : type object 'RDimServer' has no attribute 'IRDimCalcEngine' [' File "&amp;lt;string&amp;gt;", line 36, in &amp;lt;module&amp;gt;\n'].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

from System import Environment
user = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
sys.path.append(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.d11")

clr.AddReference('interop.RobotOM')
#clr.AddReference(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.dll")

from RobotOM import *
from System import Object
#The inputs to this node will be stored as a list in the IN variables.
objects = IN[0]
#File = IN[1]
#Location = IN[2]
application = RobotApplicationClass()
project = application.Project
structure = project.Structure
labels = structure.Labels
application.Project.ViewMngr.Refresh()
project.CalcEngine.AnalysisParams.IgnoreWarnings = True
calcEngine = project.CalcEngine
calcEngine.AutoGenerateModel = True
calcEngine.UseStatusWindow = True
calcEngine.Calculate()
#project.SaveAs(Location+"\\"+ File +".rtd")
#project.Save()
#project.SaveAs("D:\\Werk\Robot\Dynamo files ontwikkeling\BFS-optimo learn\Modellen\test 7\Modeltest.rtd")
RDMServer = IRDimServer
RDMServer = application.Kernel.GetExtension("RDimServer")
#RDMServer = (IRDimServerMode.I_DSM_STEEL)#werkt niet
RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine
RDmEngine2 = RDimServer.IRDimCalcEngine
#optional use it if you want to set calculation parameters by the code
RDMCalpar = IRDimCalcParam
RDMCalCnf = IRDimCalcConf
RDMCalpar = RDmEngine.GetCalcParam()
RDMCalCnf = RDimEngine.GetCalcConf()
RdmStream = IRDimStream
RdmStream = RDMServer.Connection.GetStream()
RdmStream.Clear()
RdmStream.WriteText("all")
#RDMCalpar.SetObjsList(1,RdmStream)
RDMCalpar.SetObjsList(IRDimCalcParamVerifType.I_DCPVT_MEMBERS_VERIF, RdmStream)
RDMCalpar.SetLimitState(IRDimCalcParamLimitStateType.I_DCPLST_ULTIMATE,1)
RdmStream.Clear()
RdmStream.WriteText("1to7")
RDMCalpar.SetLoadsList(RdmStream)
RDmEngine.Solve(RdmStream)
#RDmEngine.Solve(None)
RdmAllResObjType = IRDimAllResObjectType
RdmAllRes = IRDimAllRes
#RdmDetRes = IRDimDetailedRes
RdmAllRes = RDmEngine.Results()
RdmAllResObjType = 1
#RdmAllResObjType = RdmAllRes.ObjectsType(IRDimAllResObjectType.I_DAROT_VERIFIED_MEMBER)
ObjCnt = RdmAllRes.ObjectsCount
RDmRetValue = IRDimMembCalcRetValue
RDmDetRes = IRDimDetailedRes
RDmDetRes = RdmAllRes.Get("1")
#RDmRetRes = RDmEngine.Results(1)
#RdmDetRes = RdmAllRes.Get(1)
Case = RDmDetRes.GovernCaseName
Ratio = RDmDetRes.Ratio
RdmCodeRes = object
RdmCodeRes = RDmDetRes.CodeResults
Nbyrd = RdmCodeRes.BuckStrenNbyrd
#OUT = 
OUT = RdmAllRes, RdmStream, Case, Ratio, Nbyrd
#OUT = "goed bezig"&lt;/LI-CODE&gt;&lt;P&gt;Could you help me to review what is wrong with the code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regard,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:00:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11373533#M9411</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-08-22T15:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11374893#M9412</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen your names in similar topics, maybe one of you can help me out?&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7613523"&gt;@JacquesGaudin&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5952516"&gt;@cool.stuff&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4621108"&gt;@chjpcoi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 06:40:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11374893#M9412</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-08-23T06:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11375178#M9414</link>
      <description>&lt;P&gt;I don't think you need this line at all. Maybe try to comment it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDmEngine2 = RDimServer.IRDimCalcEngine&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error says that the type `RDimServer` doesn't have any attribute named IRDimCalcEngine which is expected according to the API doc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you mean this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDmEngine2 = IRDimCalcEngine&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But even then RDmEngine2 is not used elsewhere in the script...&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 09:01:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11375178#M9414</guid>
      <dc:creator>JacquesGaudin</dc:creator>
      <dc:date>2022-08-23T09:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11375877#M9415</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7613523"&gt;@JacquesGaudin&lt;/a&gt;.,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. You are right, it is not necessary the RDmEngine2, so I have commented those lines, to continue with the script. However, now I am stuck with line 15, I get the following error, "No method matches given arguments for WriteText: ()"&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine
#RDmEngine2 = RDimServer.IRDimCalcEngine
#RDmEngine2 = IRDimCalcEngine
#optional use it if you want to set calculation parameters by the code
RDMCalpar = IRDimCalcParam
RDMCalCnf = IRDimCalcConf
RDMCalpar = RDmEngine.GetCalcParam
RDimCalcParam = RDmEngine.SetCalcConf
RDMCalCnf = RDmEngine.GetCalcConf
#RdmStream = IRDimServer.Connection.GetStream
#RDmStream = IRDimMembDefData(IRDimStream)
RDmStream = IRDimStream
RdmStream.Clear
RdmStream.WriteText("all")
I_DCPVT_MEMBERS_VERIF = 1 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Could you help me to check why it is not working?.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was checking the RobotAPI documentation of steel and it says that WriteText is part of the IRDimStream interface.&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 14:16:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11375877#M9415</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-08-23T14:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11376087#M9416</link>
      <description>&lt;P&gt;You have some typos here. Could you please fix them before we have a look at what is going on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine
#RDmEngine2 = RDimServer.IRDimCalcEngine
#RDmEngine2 = IRDimCalcEngine
#optional use it if you want to set calculation parameters by the code
RDMCalpar = IRDimCalcParam
RDMCalCnf = IRDimCalcConf
RDMCalpar = RDmEngine.GetCalcParam
RDimCalcParam = RDmEngine.SetCalcConf
RDMCalCnf = RDmEngine.GetCalcConf
#RdmStream = IRDimServer.Connection.GetStream
#RDmStream = IRDimMembDefData(IRDimStream)
RDmStream = IRDimStream
RDmStream.Clear()  # &amp;lt;- Capital D in RDmStream and added brackets to call the function
RDmStream.WriteText("all")  # &amp;lt;- Capital D in RDmStream, should work with a string argument, not quite sure why it's complaining
I_DCPVT_MEMBERS_VERIF = 1 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 15:50:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11376087#M9416</guid>
      <dc:creator>JacquesGaudin</dc:creator>
      <dc:date>2022-08-23T15:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11377670#M9417</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7613523"&gt;@JacquesGaudin&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. Now, I corrected the typos of the script. However, I still get the following error:&lt;/P&gt;&lt;P&gt;"TypeError : not enough arguments [' File "&amp;lt;string&amp;gt;", line 48, in &amp;lt;module&amp;gt;\n']", please see figure below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_0-1661334215424.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1107384iE9375328B556D73C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_0-1661334215424.png" alt="stefanyC6JZ7_0-1661334215424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you help me to check what is going wrong?&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

from System import Environment
user = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
#sys.path.append(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.d11")

#clr.AddReference('interop.RobotOM')
clr.AddReference(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.dll")

from RobotOM import *
from System import Object
#The inputs to this node will be stored as a list in the IN variables.
objects = IN[0]
#File = IN[1]
#Location = IN[2]
application = RobotApplicationClass()
project = application.Project
structure = project.Structure
labels = structure.Labels
application.Project.ViewMngr.Refresh()
project.CalcEngine.AnalysisParams.IgnoreWarnings = True
calcEngine = project.CalcEngine
calcEngine.AutoGenerateModel = True
calcEngine.UseStatusWindow = True
calcEngine.Calculate()
#project.SaveAs(Location+"\\"+ File +".rtd")
#project.Save()
#project.SaveAs("D:\\Werk\Robot\Dynamo files ontwikkeling\BFS-optimo learn\Modellen\test 7\Modeltest.rtd")

RDMServer = IRDimServerMode
RDMServer = application.Kernel.GetExtension("RDimServer")
#RDMServer = (IRDimServerMode.I_DSM_STEEL)#werkt niet
RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine
#RDmEngine = IRDimCalcEngine(IRDimServer.CalculEngine)
#RDmEngine2 = IRDimCalcEngine
#optional use it if you want to set calculation parameters by the code
RDMCalpar = IRDimCalcParam
RDMCalCnf = IRDimCalcConf
RDMCalpar = RDmEngine.GetCalcParam
RDimCalcParam = RDmEngine.SetCalcConf
RDMCalCnf = RDmEngine.GetCalcConf
RDmStream = IRDimConnection.GetStream
#RDmStream = IRDimMembDefData(IRDimStream)
RDmStream = IRDimStream
RDmStream.Clear()  # &amp;lt;- Capital D in RDmStream and added brackets to call the function
RDmStream.WriteText("all") # &amp;lt;- Capital D in RDmStream, should work with a string argument, not quite sure why it's complaining
#RDMCalpar.SetObjsList(1,RDmStream)
RDMCalpar.SetObjsList(IRDimCalcParamVerifType.I_DCPVT_MEMBERS_VERIF, RDmStream)
RDMCalpar.SetLimitState(IRDimCalcParamLimitStateType.I_DCPLST_ULTIMATE,1)
RDmStream.Clear()
RDmStream.WriteText("1to7")

RDMCalpar.SetLoadList(RDmStream)
RDmEngine.Solve(RDmStream)
#RDmEngine.Solve(None)
RDmAllResObjType = IRDimAllResObjectType
RDmAllRes = IRDimAllRes
#RDmDetRes = IRDimDetailedRes
RDmAllRes = RDmEngine.Results()
RDmAllResObjType = 1
#RDmAllResObjType = RdmAllRes.ObjectsType(IRDimAllResObjectType.I_DAROT_VERIFIED_MEMBER)
ObjCnt = RDmAllRes.ObjectsCount
RDmRetValue = IRDimMembCalcRetValue
RDmDetRes = IRDimDetailedRes
RDmDetRes = IRDimAllRes.Get("1")
#RDmRetRes = RDmEngine.Results(1)
#RdmDetRes = RdmAllRes.Get(1)
Case = RDmDetRes.GovernCaseName
Ratio = RDmDetRes.I_DMRVT_Ratio
RDmCodeRes = object
RDmCodeRes = RDmDetRes.CodeResults
Nbyrd = RDmCodeRes.BuckStrenNbyrd
#OUT = 
OUT = RdmAllRes, RdmStream, Case, Ratio, Nbyrd
#OUT = "goed bezig"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 09:49:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11377670#M9417</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-08-24T09:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11378603#M9418</link>
      <description>&lt;P&gt;There is a problem in your code with the definition of RDmStream. It assigns the &lt;STRONG&gt;type&lt;/STRONG&gt;&amp;nbsp;to the variable rather than an &lt;STRONG&gt;instance&lt;/STRONG&gt; of the type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Python the methods of a class are usually called with the instance itself as a first argument, but if you call the method from the type, then the instance argument is not there and that messes up the method call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed your code to the following. I hope it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDmStream = IRDimStream(RDMServer.Connection.GetStream())  # Setting RDmStream to an instance of IRDim Stream&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

from System import Environment
user = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

clr.AddReference(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.dll")

from RobotOM import *
from System import Object

objects = IN[0]

application = RobotApplicationClass()
project = application.Project
structure = project.Structure
labels = structure.Labels
application.Project.ViewMngr.Refresh()
project.CalcEngine.AnalysisParams.IgnoreWarnings = True
calcEngine = project.CalcEngine
calcEngine.AutoGenerateModel = True
calcEngine.UseStatusWindow = True
calcEngine.Calculate()

RDMServer = IRDimServerMode
RDMServer = application.Kernel.GetExtension("RDimServer")
RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine

RDMCalpar = IRDimCalcParam
RDMCalCnf = IRDimCalcConf
RDMCalpar = RDmEngine.GetCalcParam
RDimCalcParam = RDmEngine.SetCalcConf
RDMCalCnf = RDmEngine.GetCalcConf
RDmStream = IRDimConnection.GetStream

RDmStream = IRDimStream(RDMServer.Connection.GetStream())
RDmStream.Clear()
RDmStream.WriteText("all")

RDMCalpar.SetObjsList(IRDimCalcParamVerifType.I_DCPVT_MEMBERS_VERIF, RDmStream)
RDMCalpar.SetLimitState(IRDimCalcParamLimitStateType.I_DCPLST_ULTIMATE,1)
RDmStream.Clear()
RDmStream.WriteText("1to7")

RDMCalpar.SetLoadList(RDmStream)
RDmEngine.Solve(RDmStream)

RDmAllResObjType = IRDimAllResObjectType
RDmAllRes = IRDimAllRes

RDmAllRes = RDmEngine.Results()
RDmAllResObjType = 1

ObjCnt = RDmAllRes.ObjectsCount
RDmRetValue = IRDimMembCalcRetValue
RDmDetRes = IRDimDetailedRes
RDmDetRes = IRDimAllRes.Get("1")

Case = RDmDetRes.GovernCaseName
Ratio = RDmDetRes.I_DMRVT_Ratio
RDmCodeRes = object
RDmCodeRes = RDmDetRes.CodeResults
Nbyrd = RDmCodeRes.BuckStrenNbyrd

OUT = RdmAllRes, RdmStream, Case, Ratio, Nbyrd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 15:31:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11378603#M9418</guid>
      <dc:creator>JacquesGaudin</dc:creator>
      <dc:date>2022-08-24T15:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11380161#M9419</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7613523"&gt;@JacquesGaudin&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I have changed the code as you suggested, but now I get the following error:&lt;/P&gt;&lt;P&gt;"AttributeError : '__ComObject' object has no attribute 'Connection' [' File "&amp;lt;string&amp;gt;", line 38, in &amp;lt;module&amp;gt;\n']".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

from System import Environment
user = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

clr.AddReference(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.dll")

from RobotOM import *
from System import Object

objects = IN[0]

application = RobotApplicationClass()
project = application.Project
structure = project.Structure
labels = structure.Labels
application.Project.ViewMngr.Refresh()
project.CalcEngine.AnalysisParams.IgnoreWarnings = True
calcEngine = project.CalcEngine
calcEngine.AutoGenerateModel = True
calcEngine.UseStatusWindow = True
calcEngine.Calculate()

RDMServer = IRDimServerMode
RDMServer = application.Kernel.GetExtension("RDimServer")
RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine

RDMCalpar = IRDimCalcParam
RDMCalCnf = IRDimCalcConf
RDMCalpar = RDmEngine.GetCalcParam
RDimCalcParam = RDmEngine.SetCalcConf
RDMCalCnf = RDmEngine.GetCalcConf
RDmStream = IRDimConnection.GetStream

RDmStream = IRDimStream(RDMServer.Connection.GetStream())
RDmStream.Clear()
RDmStream.WriteText("all")

RDMCalpar.SetObjsList(IRDimCalcParamVerifType.I_DCPVT_MEMBERS_VERIF, RDmStream)
RDMCalpar.SetLimitState(IRDimCalcParamLimitStateType.I_DCPLST_ULTIMATE,1)
RDmStream.Clear()
RDmStream.WriteText("1to7")

RDMCalpar.SetLoadList(RDmStream)
RDmEngine.Solve(RDmStream)

RDmAllResObjType = IRDimAllResObjectType
RDmAllRes = IRDimAllRes

RDmAllRes = RDmEngine.Results()
RDmAllResObjType = 1

ObjCnt = RDmAllRes.ObjectsCount
RDmRetValue = IRDimMembCalcRetValue
RDmDetRes = IRDimDetailedRes
RDmDetRes = IRDimAllRes.Get("1")

Case = RDmDetRes.GovernCaseName
Ratio = RDmDetRes.I_DMRVT_Ratio
RDmCodeRes = object
RDmCodeRes = RDmDetRes.CodeResults
Nbyrd = RDmCodeRes.BuckStrenNbyrd

OUT = RdmAllRes, RdmStream, Case, Ratio, Nbyrd&lt;/LI-CODE&gt;&lt;P&gt;I have tried to change it into two different ways but I still do not get the script working properly.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDmStream = IRDimStream(IRDimServer.Connection.GetStream())&lt;/LI-CODE&gt;&lt;P&gt;First I changed line 38, but I get the following error:&lt;/P&gt;&lt;P&gt;" instance property must be accessed through a class instance [' File "&amp;lt;string&amp;gt;", line 38, in &amp;lt;module&amp;gt;\n']"&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDmStream = IRDimStream(IRDimConnection.GetStream())&lt;/LI-CODE&gt;&lt;P&gt;Then, I changed same line, but the following error appears:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Warning: TypeError : not enough arguments [' File "&amp;lt;string&amp;gt;", line 38, in &amp;lt;module&amp;gt;\n']"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me to check what is going wrong with the script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 08:39:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11380161#M9419</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-08-25T08:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11380504#M9420</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The error message says that `RDmServer` is a plain COM object and doesn't have any attribute named Connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"AttributeError : '__ComObject' object has no attribute 'Connection' [' File "&amp;lt;string&amp;gt;", line 38, in &amp;lt;module&amp;gt;\n']".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, as previously explianed the fix is to cast to the expected type, in this instance IRDimServer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDMServer = IRDimServer(application.Kernel.GetExtension("RDimServer"))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most of the errors you encounter are of this type. I'm going to be away for two weeks so try and understand how to fix them by yourself. If there is something you don't understand, I can answer your question until tonight.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The revised script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

from System import Environment
user = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

clr.AddReference(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.dll")

from RobotOM import *
from System import Object

objects = IN[0]

application = RobotApplicationClass()
project = application.Project
structure = project.Structure
labels = structure.Labels
application.Project.ViewMngr.Refresh()
project.CalcEngine.AnalysisParams.IgnoreWarnings = True
calcEngine = project.CalcEngine
calcEngine.AutoGenerateModel = True
calcEngine.UseStatusWindow = True
calcEngine.Calculate()

RDMServer = IRDimServer(application.Kernel.GetExtension("RDimServer"))
RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine

RDMCalpar = IRDimCalcParam
RDMCalCnf = IRDimCalcConf
RDMCalpar = RDmEngine.GetCalcParam
RDimCalcParam = RDmEngine.SetCalcConf
RDMCalCnf = RDmEngine.GetCalcConf
RDmStream = IRDimConnection.GetStream

RDmStream = IRDimStream(RDMServer.Connection.GetStream())
RDmStream.Clear()
RDmStream.WriteText("all")

RDMCalpar.SetObjsList(IRDimCalcParamVerifType.I_DCPVT_MEMBERS_VERIF, RDmStream)
RDMCalpar.SetLimitState(IRDimCalcParamLimitStateType.I_DCPLST_ULTIMATE,1)
RDmStream.Clear()
RDmStream.WriteText("1to7")

RDMCalpar.SetLoadList(RDmStream)
RDmEngine.Solve(RDmStream)

RDmAllResObjType = IRDimAllResObjectType
RDmAllRes = IRDimAllRes

RDmAllRes = RDmEngine.Results()
RDmAllResObjType = 1

ObjCnt = RDmAllRes.ObjectsCount
RDmRetValue = IRDimMembCalcRetValue
RDmDetRes = IRDimDetailedRes
RDmDetRes = IRDimAllRes.Get("1")

Case = RDmDetRes.GovernCaseName
Ratio = RDmDetRes.I_DMRVT_Ratio
RDmCodeRes = object
RDmCodeRes = RDmDetRes.CodeResults
Nbyrd = RDmCodeRes.BuckStrenNbyrd

OUT = RdmAllRes, RdmStream, Case, Ratio, Nbyrd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 11:50:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11380504#M9420</guid>
      <dc:creator>JacquesGaudin</dc:creator>
      <dc:date>2022-08-25T11:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11387833#M9421</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I could develop the code a bit further, and I got two results, the Ratio and Case Name. Please see the figure below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_1-1661780992641.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1109253i7B7B7AAE3B985499/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_1-1661780992641.png" alt="stefanyC6JZ7_1-1661780992641.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I also want the results from Eurocode3, for example, as red box shows in the next figure the Ny,b,Rd. But I get the following error: "AttributeError : '__ComObject' object has no attribute 'BuckStrenNbyrd'".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_2-1661781025774.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1109254i4542251C0B29E7D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_2-1661781025774.png" alt="stefanyC6JZ7_2-1661781025774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

from System import Environment
user = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

clr.AddReference(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.dll")

from RobotOM import *
from System import Object

objects = IN[0]

application = RobotApplicationClass()
project = application.Project
structure = project.Structure
labels = structure.Labels
application.Project.ViewMngr.Refresh()
project.CalcEngine.AnalysisParams.IgnoreWarnings = True
calcEngine = project.CalcEngine
calcEngine.AutoGenerateModel = True
calcEngine.UseStatusWindow = True
calcEngine.Calculate()

RDMServer = IRDimServer(application.Kernel.GetExtension("RDimServer"))
RDMServer.Mode = 1
RDmEngine = IRDimCalcEngine(RDMServer.CalculEngine)
RDMCalpar = IRDimCalcParam(RDmEngine.GetCalcParam())
RDMCalCnf = IRDimCalcConf(RDmEngine.GetCalcConf())
RDmStream = IRDimStream(RDMServer.Connection.GetStream())

RDmStream.Clear()
RDmStream.WriteText("all")
RDMCalpar.SetObjsList(IRDimCalcParamVerifType.I_DCPVT_MEMBERS_VERIF, RDmStream)
RDMCalpar.SetLimitState(IRDimCalcParamLimitStateType.I_DCPLST_ULTIMATE,1)
RDmStream.Clear()
RDmStream.WriteText("1to4")

RDMCalpar.SetLoadsList(RDmStream)
RDmEngine.Solve(RDmStream)
RDmAllResObjType = IRDimAllResObjectType
RDmAllRes = IRDimAllRes(RDmEngine.Results())
IRDimAllResObjectType = 1

ObjCnt = RDmAllRes.ObjectsCount
RDmRetValue = IRDimMembCalcRetValue
RDmDetRes = IRDimDetailedRes(RDmAllRes.Get("1"))

Case = RDmDetRes.GovernCaseName
Ratio = RDmDetRes.Ratio
RDmCodeRes = Object
RDmCodeRes = RDmDetRes.CodeResults
Nbyrd = RDmCodeRes.BuckStrenNbyrd
#RDmCodeRes = IRDimCodeResEC3(structure(RDmCodeRes(IRDimDetailedRes.CodeResults.BuckStrenNbyrd("1"))))

OUT = Case, Ratio 



&lt;/LI-CODE&gt;&lt;P&gt;Then, I have been trying to call the attribute as line 55 shows:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RDmCodeRes = IRDimCodeResEC3(structure(RDmCodeRes(IRDimDetailedRes.CodeResults.BuckStrenNbyrd("1"))))&lt;/LI-CODE&gt;&lt;P&gt;But, it is not working and I get the following error :" instance property must be accessed through a class instance [' File "&amp;lt;string&amp;gt;", line 55, in &amp;lt;module&amp;gt;\n']"&lt;/P&gt;&lt;P&gt;Could someone help me to check what is missing in the code?&amp;nbsp;To get through the comObject and Class instance.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4621108"&gt;@chjpcoi&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5952516"&gt;@cool.stuff&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3265384"&gt;@gwizdzm&lt;/a&gt;&amp;nbsp;I have seen your names in similar topics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 14:03:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11387833#M9421</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-08-29T14:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11392070#M9422</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question is still goiing on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10769584"&gt;@LionelDallenne&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1930333"&gt;@vise92&lt;/a&gt;&amp;nbsp;@Anonymous&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6252526"&gt;@milczarekuba&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5137081"&gt;@lukasz_koc1&lt;/a&gt;&amp;nbsp;or others know how to get this one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Gr Edward&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 05:47:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11392070#M9422</guid>
      <dc:creator>1234eddie</dc:creator>
      <dc:date>2022-08-31T05:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of Steel Design, CPython3</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11396933#M9423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7613523"&gt;@JacquesGaudin&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. We have solved the script, it is working perfectly. Thank you very much for your help solving the issues and with help from dynamo forum.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forum.dynamobim.com/t/calculation-of-steel-design-cpython3/80447/7" target="_blank" rel="noopener"&gt;https://forum.dynamobim.com/t/calculation-of-steel-design-cpython3/80447/7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

from System import Environment
user = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

clr.AddReference(user+r"\Dynamo\Dynamo Core\2.11\packages\Structural Analysis for Dynamo\bin\RSA\Interop.RobotOM.dll")


from RobotOM import RobotApplicationClass, IRDimCalcParamVerifType, IRDimCalcParamLimitStateType
clr.AddReference("System.Reflection")
from System.Reflection import BindingFlags
from RobotOM import *
from System import Object

class ComObj:
    def __init__(self, obj):
        self.obj = obj
        self.typ = obj.GetType()

    def __getattr__(self, name):       
        def newm(*args):
            args = args or (None,)
            return self.typ.InvokeMember(
                name, 
                BindingFlags.InvokeMethod | BindingFlags.GetProperty, 
                None,
                self.obj,
                *args,
            )
        return newm


objects = IN[0]

application = RobotApplicationClass()
project = application.Project
project.ViewMngr.Refresh()
calc_engine = project.CalcEngine
calc_engine.AnalysisParams.IgnoreWarnings = True
calc_engine.AutoGenerateModel = True
calc_engine.UseStatusWindow = True
calc_engine.Calculate()

rdm_server = IRDimServer(application.Kernel.GetExtension("RDimServer"))
rdm_server.Mode = 1
rdm_calc_engine = IRDimCalcEngine(rdm_server.CalculEngine)
calc_param = IRDimCalcParam(rdm_calc_engine.GetCalcParam())
calc_conf = rdm_calc_engine.GetCalcConf()
stream = IRDimStream(rdm_server.Connection.GetStream())

stream.Clear()
stream.WriteText("all")
calc_param.SetObjsList(IRDimCalcParamVerifType.I_DCPVT_MEMBERS_VERIF, stream)
calc_param.SetLimitState(IRDimCalcParamLimitStateType.I_DCPLST_ULTIMATE,1)
stream.Clear()
stream.WriteText("1to4")

calc_param.SetLoadsList(stream)
rdm_calc_engine.Solve(stream)
all_results = IRDimAllRes(rdm_calc_engine.Results())

detailed_results = IRDimDetailedRes(all_results.Get("1"))
case = detailed_results.GovernCaseName
ratio = detailed_results.Ratio
code_results = ComObj(detailed_results.CodeResults)
Nbyrd = code_results.BuckStrenNbyrd()
Myelrd = code_results.ElastMomStrenMelyrd()
OUT = case, ratio, Nbyrd, Myelrd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 06:41:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/calculation-of-steel-design-cpython3/m-p/11396933#M9423</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-09-02T06:41:37Z</dc:date>
    </item>
  </channel>
</rss>

