<?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: (API) Changing the bar type in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10528379#M13733</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8258970"&gt;@dagmaraxf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try these links&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/provided-reinforcement-api-robot/td-p/9516192" target="_blank"&gt;https://forums.autodesk.com/t5/robot-structural-analysis-forum/provided-reinforcement-api-robot/td-p/9516192&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-how-to-get-bar-reinforcement-results/td-p/5917907" target="_blank"&gt;https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-how-to-get-bar-reinforcement-results/td-p/5917907&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Sat, 07 Aug 2021 22:44:17 GMT</pubDate>
    <dc:creator>Stephane.kapetanovic</dc:creator>
    <dc:date>2021-08-07T22:44:17Z</dc:date>
    <item>
      <title>(API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10520569#M13728</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I change the bar type using the API (please see the screenshot below)? I have already created bars in the project whose type is "N/A" and I would like to have a RC beam. Do I have to create a beam instead of a bar at the beginning?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen.jpg" style="width: 631px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/948624i946EA12EDA77455E/image-dimensions/631x350?v=v2" width="631" height="350" role="button" title="Screen.jpg" alt="Screen.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 18:53:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10520569#M13728</guid>
      <dc:creator>dagmaraxf</dc:creator>
      <dc:date>2021-08-04T18:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10520749#M13729</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8258970"&gt;@dagmaraxf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;type (Steel beam EC3) is used for design.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;' with Bar as RobotBar and Existing Label "Steel beam EC3" (to be created in other case) 
Bar.SetLabel IRobotLabelType.I_LT_MEMBER_TYPE, "Steel beam EC3"&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 20:10:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10520749#M13729</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2021-08-04T20:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10520822#M13730</link>
      <description>&lt;P&gt;Note that this also works for R / C types&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Bar.SetLabel IRobotLabelType.I_LT_MEMBER_TYPE, "RC Beam"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 330px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/948655iA5CDBDD34573FC56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 335px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/948657iD078032D293299D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 20:40:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10520822#M13730</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2021-08-04T20:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10520840#M13731</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Yes, you are absolutely right, thank you. I was confused by the mention in the API:&amp;nbsp;Member type for steel/aluminum and timber design.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 20:51:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10520840#M13731</guid>
      <dc:creator>dagmaraxf</dc:creator>
      <dc:date>2021-08-04T20:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10528138#M13732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt; maybe you know the solution to my next problem.&amp;nbsp;I would like to change the settings of Calculation Parameter Definition.&lt;/P&gt;&lt;P&gt;I try :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;structure.Labels.GetLabel(IRobotLabelType.I_LT_MEMBER_REINFORCEMENT_PARAMS, "standard").Data&amp;nbsp;but gets an error.&amp;nbsp;However, with the same syntax only with&amp;nbsp;"I_LT_MEMBER_TYPE" the code works.&amp;nbsp;Is there any other way to access these settings?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screen2.png" style="width: 373px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/949796i8604AB3567D2749F/image-size/large?v=v2&amp;amp;px=999" role="button" title="screen2.png" alt="screen2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 18:44:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10528138#M13732</guid>
      <dc:creator>dagmaraxf</dc:creator>
      <dc:date>2021-08-07T18:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10528379#M13733</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8258970"&gt;@dagmaraxf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try these links&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/provided-reinforcement-api-robot/td-p/9516192" target="_blank"&gt;https://forums.autodesk.com/t5/robot-structural-analysis-forum/provided-reinforcement-api-robot/td-p/9516192&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-how-to-get-bar-reinforcement-results/td-p/5917907" target="_blank"&gt;https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-how-to-get-bar-reinforcement-results/td-p/5917907&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 22:44:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10528379#M13733</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2021-08-07T22:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10532309#M13734</link>
      <description>&lt;P&gt;Thank you for your help, I have already studied the links and my calculation of the required reinforcement works. However, while "bars.Get(1).SetLabel(IRobotLabelType.I_LT_MEMBER_REINFORCEMENT_PARAMS, "standard")" works fine, I don't know how to modify the "standard" parameter set (or create a new one, "Create" does not work). I think I should refer to "IRBestCalcParamsDataDoubleValue" but I don't know how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 20:17:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10532309#M13734</guid>
      <dc:creator>dagmaraxf</dc:creator>
      <dc:date>2021-08-09T20:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10533110#M13735</link>
      <description>&lt;P&gt;See messages 10 to 13/29 on second of previous links.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 05:23:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/10533110#M13735</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2021-08-10T05:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/11359305#M13736</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8258970"&gt;@dagmaraxf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you upload the code of the creation of bars, including how you assigned section, material, and releases?. Currently I am trying to create bars with version CPython3, I just managed to create bars but tey are missing the properties. Thank you in advance.&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>Mon, 15 Aug 2022 09:27:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/11359305#M13736</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-08-15T09:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/11427926#M13737</link>
      <description>&lt;LI-CODE lang="python"&gt;from RobotOM import *
from System import Object
import math
from time import gmtime,strftime
from math import sqrt




ConcreteClass = IN[0]   
B = IN[2]  
H = IN[1]  


NameS = str(H*100)+"x"+str(B*100)   #Section Name
B = B*1
H = H*1

application = RobotApplicationClass()
project = application.Project
structure = project.Structure
results = structure.Results
bars = structure.Bars
rbars = results.Bars
labels = structure.Labels
nodes = structure.Nodes
loads = structure.Cases


app = RobotApplicationClass()
app.Project.New(IRobotProjectType.I_PT_FRAME_2D)

#Geometry
structure.Nodes.Create(1,0,0,0)
structure.Nodes.Create(2,8,0,0)
structure.Nodes.Create(3,16,0,0)

bars.Create(1,1,2)
bars.Create(2,2,3)

#Supports
Support = labels.Create(IRobotLabelType.I_LT_NODE_SUPPORT, 
"Przegub przesuwny")
Support.Data.UX = 0
Support.Data.UY = 1
Support.Data.RY = 0
labels.Store(Support)

nodes.Get(1).SetLabel(IRobotLabelType.I_LT_NODE_SUPPORT, "Przegub")
nodes.Get(2).SetLabel(IRobotLabelType.I_LT_NODE_SUPPORT, "Przegub")
nodes.Get(3).SetLabel(IRobotLabelType.I_LT_NODE_SUPPORT, 
"Przegub przesuwny")

#Section


lab_serv = labels
sec = lab_serv.Create(IRobotLabelType.I_LT_BAR_SECTION, NameS)
data = sec.data

data.ShapeType = IRobotBarSectionShapeType.I_BSST_CONCR_BEAM_RECT
nonst_data = data.concrete
nonst_data.SetValue(IRobotBarSectionConcreteDataValue.I_BSCDV_BEAM_B,
B)
nonst_data.SetValue(IRobotBarSectionConcreteDataValue.I_BSCDV_BEAM_H,
H)
data.MaterialName = ConcreteClass[0]
data.CalcNonstdGeometry()
lab_serv.Store(sec)

bars.Get(1).SetLabel(IRobotLabelType.I_LT_BAR_SECTION, NameS)
bars.Get(2).SetLabel(IRobotLabelType.I_LT_BAR_SECTION, NameS)&lt;/LI-CODE&gt;&lt;P&gt;Hi,&lt;BR /&gt;Sorry it took me so long to write back. I am inserting the code.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 10:49:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/11427926#M13737</guid>
      <dc:creator>dagmaraxf</dc:creator>
      <dc:date>2022-09-17T10:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Changing the bar type</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/11433571#M13738</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8258970"&gt;@dagmaraxf&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your response.&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, 20 Sep 2022 13:53:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-changing-the-bar-type/m-p/11433571#M13738</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2022-09-20T13:53:14Z</dc:date>
    </item>
  </channel>
</rss>

