<?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: ROBOT API - problems of existants connections in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13725044#M85073</link>
    <description>&lt;P&gt;to remove the upper stiffener&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;jointKnee.KneeType = IRJointKneeType.I_JKT_BEAM2COLUMN;
//[...]
jointKnee.StiffTypeUp = IRJointKneeReinfType.I_JKRT_NONE;
IRJointKneeBracket BracketUp = jointKnee.BracketUp; BracketUp.Exist = 0; 
BracketUp.Width = 0; BracketUp.Length = 0; BracketUp.ThickFlange = 0; BracketUp.ThickWeb = 0;&lt;/LI-CODE&gt;
&lt;P&gt;to add it&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;jointKnee.KneeType = IRJointKneeType.I_JKT_BEAM2COLUMN_CONTINUE;
//[...]
jointKnee.StiffTypeUp = IRJointKneeReinfType.I_JKRT_STIFF;
IRJointKneeBracket BracketUp = jointKnee.BracketUp; BracketUp.Exist = 1;
BracketUp.Width = 80; BracketUp.Length = 160; BracketUp.ThickFlange = 0; BracketUp.ThickWeb = 10;&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 15 Jul 2025 09:00:03 GMT</pubDate>
    <dc:creator>Stephane.kapetanovic</dc:creator>
    <dc:date>2025-07-15T09:00:03Z</dc:date>
    <item>
      <title>ROBOT API - problems of existants connections</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13723658#M85061</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to modify somme lengts or widths of some existent. And when I have a connection like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="durducgeorge_0-1752477574567.png" style="width: 297px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1552108i6ACD4C567A665DCE/image-dimensions/297x202?v=v2" width="297" height="202" role="button" title="durducgeorge_0-1752477574567.png" alt="durducgeorge_0-1752477574567.png" /&gt;&lt;/span&gt;and the plate on bottom is deleted&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="durducgeorge_1-1752477655996.png" style="width: 252px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1552109i4D7699D0375D2282/image-dimensions/252x170?v=v2" width="252" height="170" role="button" title="durducgeorge_1-1752477655996.png" alt="durducgeorge_1-1752477655996.png" /&gt;&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List&amp;lt;int&amp;gt; totalAss = new List&amp;lt;int&amp;gt;();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RobotApplication RobApp = new RobotApplication();&lt;/P&gt;&lt;P&gt;RobotStructure RPS = RobApp.Project.Structure;&lt;/P&gt;&lt;P&gt;IRJointConnectionServer JointServer = RobApp.Project.Connections;&lt;/P&gt;&lt;P&gt;int num = 0;&lt;BR /&gt;int numbers_of_ass = 0;&lt;/P&gt;&lt;P&gt;numbers_of_ass = JointServer.Count;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for (int i = 1; i &amp;lt;= numbers_of_ass; i++)&lt;BR /&gt;{&lt;BR /&gt;num = i;&lt;/P&gt;&lt;P&gt;IRJointConnection Connection = JointServer.Get(num);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RJointConnectionInfo Info = JointServer.GetInfo(num);&lt;/P&gt;&lt;P&gt;Info.DefType = IRJointConnectionDefType.I_JCDT_IN_STRUCTURE;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;double hauteur_profile;&lt;/P&gt;&lt;P&gt;if (Info.Type == IRJointConnectionType.I_JCT_KNEE_BOLTED &amp;amp;&amp;amp; Info.Name == "Angle de portique")&lt;BR /&gt;{&lt;BR /&gt;IRJointKnee jointKnee = (IRJointKnee)Connection;&lt;/P&gt;&lt;P&gt;string jarretCommun = "";&lt;BR /&gt;double angleBeam = jointKnee.Beam.Angle;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// determinaation jarret du noeud commun&lt;BR /&gt;RobotBar beam = (RobotBar)RPS.Bars.Get(jointKnee.Beam.BarNumber);&lt;/P&gt;&lt;P&gt;int noNodeCommun = 0;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;int coeffIfAngleObtuz = Utilities.isObtuzAngle(&lt;BR /&gt;ref RobApp,&lt;BR /&gt;jointKnee.Beam.BarNumber,&lt;BR /&gt;jointKnee.Column.BarNumber);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if (beam.EndNode == ((RobotBar)RPS.Bars.Get(jointKnee.Column.BarNumber)).EndNode)&lt;BR /&gt;{&lt;BR /&gt;noNodeCommun = beam.EndNode;&lt;BR /&gt;}&lt;BR /&gt;else if (beam.EndNode == ((RobotBar)RPS.Bars.Get(jointKnee.Column.BarNumber)).StartNode)&lt;BR /&gt;{&lt;BR /&gt;noNodeCommun = beam.EndNode;&lt;BR /&gt;}&lt;BR /&gt;else if (beam.StartNode == ((RobotBar)RPS.Bars.Get(jointKnee.Column.BarNumber)).EndNode)&lt;BR /&gt;{&lt;BR /&gt;noNodeCommun = beam.StartNode;&lt;BR /&gt;}&lt;BR /&gt;else if (beam.StartNode == ((RobotBar)RPS.Bars.Get(jointKnee.Column.BarNumber)).StartNode)&lt;BR /&gt;{&lt;BR /&gt;noNodeCommun = beam.StartNode;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (beam.EndNode == noNodeCommun)&lt;BR /&gt;{&lt;BR /&gt;//MessageBox.Show(beam.Start.GetLabel(IRobotLabelType.I_LT_BAREND_BRACKET).Name);&lt;/P&gt;&lt;P&gt;try&lt;BR /&gt;{&lt;BR /&gt;jarretCommun = beam.End.GetLabel(IRobotLabelType.I_LT_BAREND_BRACKET).Name;&lt;BR /&gt;}&lt;BR /&gt;catch (Exception e)&lt;BR /&gt;{&lt;BR /&gt;Console.WriteLine(e);&lt;BR /&gt;throw;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (beam.StartNode == noNodeCommun)&lt;BR /&gt;{&lt;BR /&gt;//MessageBox.Show(beam.Start.GetLabel(IRobotLabelType.I_LT_BAREND_BRACKET).Name);&lt;BR /&gt;jarretCommun = beam.Start.GetLabel(IRobotLabelType.I_LT_BAREND_BRACKET).Name;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;double hauteurPerpJarret = Convert.ToDouble(jarretCommun.Split('x')[1].Split(' ')[1]) -&lt;BR /&gt;2 * jointKnee.BracketLow.ThickFlange;&lt;BR /&gt;double longueurHarret = jointKnee.BracketLow.Length;&lt;/P&gt;&lt;P&gt;double angleJarret = Math.Asin(hauteurPerpJarret / longueurHarret);&lt;BR /&gt;double angleDeDetermionat =&lt;BR /&gt;angleJarret + Math.Sqrt(angleBeam * angleBeam) * Math.PI / 180 * coeffIfAngleObtuz;&lt;/P&gt;&lt;P&gt;jointKnee.StiffTypeLow = IRJointKneeReinfType.I_JKRT_BRACKET;&lt;/P&gt;&lt;P&gt;jointKnee.BracketLow.Height = (hauteurPerpJarret + jointKnee.BracketLow.ThickFlange) /&lt;BR /&gt;Math.Cos(angleDeDetermionat);&lt;/P&gt;&lt;P&gt;jointKnee.Bolts.ShearPortion = IRJointBoltShearPortion.I_JBSP_THREADED;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if (Convert.ToDouble(jointKnee.Column.Section.Split(' ')[1]) &amp;lt; 450)&lt;BR /&gt;{&lt;BR /&gt;jointKnee.WebColumnStiffenerHUpper.Thick = 10;&lt;BR /&gt;jointKnee.WebColumnStiffenerHLower.Thick = 10;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;jointKnee.WebColumnStiffenerHUpper.Thick = 15;&lt;BR /&gt;jointKnee.WebColumnStiffenerHLower.Thick = 15;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Connection.SetToRobot(Info);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;George DURDUC&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 07:23:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13723658#M85061</guid>
      <dc:creator>durducgeorge</dc:creator>
      <dc:date>2025-07-14T07:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: ROBOT API - problems of existants connections</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724342#M85064</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11888083"&gt;@durducgeorge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have you tried&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;jointKnee.KneeType = IRJointKneeType.I_JKT_BEAM2COLUMN_CONTINUE;
&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:28:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724342#M85064</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-07-14T16:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: ROBOT API - problems of existants connections</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724486#M85067</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;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it doesn't work. it makes column continue, but it's not good for my case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem in fact is that before I "SetToRobot" when debugging, the jointKnee has the good length, thick and width but it shows that it doesn't exist (0 value for Exist...).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And even if I force with the value 1 it doesn't word (look below):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="durducgeorge_0-1752517527803.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1552295iCA1CA67C2C444C8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="durducgeorge_0-1752517527803.png" alt="durducgeorge_0-1752517527803.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 18:25:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724486#M85067</guid>
      <dc:creator>durducgeorge</dc:creator>
      <dc:date>2025-07-14T18:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: ROBOT API - problems of existants connections</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724503#M85068</link>
      <description>&lt;P&gt;did you add&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;jointKnee.StiffTypeUp = IRJointKneeReinfType.I_JKRT_STIFF;
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 14 Jul 2025 18:38:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724503#M85068</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-07-14T18:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: ROBOT API - problems of existants connections</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724553#M85071</link>
      <description>&lt;P&gt;yes, I add it. It doesn't work (it doesn't activate the stiffner type of bracket). But when I type this for the StiffTypeLow it works everytime ( only for the up side doesn't work).&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 19:23:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724553#M85071</guid>
      <dc:creator>durducgeorge</dc:creator>
      <dc:date>2025-07-14T19:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: ROBOT API - problems of existants connections</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724598#M85072</link>
      <description>&lt;P&gt;Now It works only if I presse the apply button on the connection in Robot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it would be nice if I can activate from Robot the presence of stiffener or bracket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, it's ok even with that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help Mr.&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 19:57:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13724598#M85072</guid>
      <dc:creator>durducgeorge</dc:creator>
      <dc:date>2025-07-14T19:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: ROBOT API - problems of existants connections</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13725044#M85073</link>
      <description>&lt;P&gt;to remove the upper stiffener&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;jointKnee.KneeType = IRJointKneeType.I_JKT_BEAM2COLUMN;
//[...]
jointKnee.StiffTypeUp = IRJointKneeReinfType.I_JKRT_NONE;
IRJointKneeBracket BracketUp = jointKnee.BracketUp; BracketUp.Exist = 0; 
BracketUp.Width = 0; BracketUp.Length = 0; BracketUp.ThickFlange = 0; BracketUp.ThickWeb = 0;&lt;/LI-CODE&gt;
&lt;P&gt;to add it&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;jointKnee.KneeType = IRJointKneeType.I_JKT_BEAM2COLUMN_CONTINUE;
//[...]
jointKnee.StiffTypeUp = IRJointKneeReinfType.I_JKRT_STIFF;
IRJointKneeBracket BracketUp = jointKnee.BracketUp; BracketUp.Exist = 1;
BracketUp.Width = 80; BracketUp.Length = 160; BracketUp.ThickFlange = 0; BracketUp.ThickWeb = 10;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 15 Jul 2025 09:00:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-problems-of-existants-connections/m-p/13725044#M85073</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-07-15T09:00:03Z</dc:date>
    </item>
  </channel>
</rss>

