<?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 (API) Get groups through API in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-groups-through-api/m-p/11330998#M9719</link>
    <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;I set some member groups in RSA manually.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then, I want to get one of these groups through the following API, but it needs the index of the group. How should get the index?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shulwh_2-1659253888246.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1098555iDF8F2375730B0964/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shulwh_2-1659253888246.png" alt="shulwh_2-1659253888246.png" /&gt;&lt;/span&gt;&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="shulwh_0-1659253856796.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1098553i5408505F31B273F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shulwh_0-1659253856796.png" alt="shulwh_0-1659253856796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 31 Jul 2022 07:53:11 GMT</pubDate>
    <dc:creator>shulwh</dc:creator>
    <dc:date>2022-07-31T07:53:11Z</dc:date>
    <item>
      <title>(API) Get groups through API</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-groups-through-api/m-p/11330998#M9719</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;I set some member groups in RSA manually.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then, I want to get one of these groups through the following API, but it needs the index of the group. How should get the index?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shulwh_2-1659253888246.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1098555iDF8F2375730B0964/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shulwh_2-1659253888246.png" alt="shulwh_2-1659253888246.png" /&gt;&lt;/span&gt;&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="shulwh_0-1659253856796.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1098553i5408505F31B273F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shulwh_0-1659253856796.png" alt="shulwh_0-1659253856796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2022 07:53:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-groups-through-api/m-p/11330998#M9719</guid>
      <dc:creator>shulwh</dc:creator>
      <dc:date>2022-07-31T07:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Get groups through API</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-groups-through-api/m-p/11331057#M9720</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12230053"&gt;@shulwh&lt;/a&gt;&lt;/P&gt;
&lt;LI-CODE lang="visual"&gt;Sub ListGroupBars()
  Dim RobApp As IRobotApplication, RGroups As RobotGroupServer
  Set RobApp = New RobotApplication
  Set RGroups = RobApp.Project.Structure.Groups
  
  Dim Group As RobotGroup, GroupCnt As Integer, ObjTyp As IRobotObjectType
  ObjTyp = IRobotObjectType.I_OT_BAR
  GroupCnt = RGroups.GetCount(ObjTyp)
  If GroupCnt &amp;lt;&amp;gt; 0 Then
    For j = 1 To GroupCnt
      Set Group = RGroups.Get(ObjTyp, j)
      Debug.Print j, Group.Name, Group.SelList, Group.Color
    Next j
  End If
  Set RobApp = Nothing
End Sub&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 11:39:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-groups-through-api/m-p/11331057#M9720</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-06-02T11:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Get groups through API</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-groups-through-api/m-p/11331094#M9721</link>
      <description>Thank you for your quick reply, it's quite convenient!</description>
      <pubDate>Sun, 31 Jul 2022 10:38:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-groups-through-api/m-p/11331094#M9721</guid>
      <dc:creator>shulwh</dc:creator>
      <dc:date>2022-07-31T10:38:45Z</dc:date>
    </item>
  </channel>
</rss>

