<?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) ROBOT / VBA: Activate or select load case in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-robot-vba-activate-or-select-load-case/m-p/10894551#M12010</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11885237"&gt;@daniel_dcn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Sub Select_Load_Case15()
  Dim RobApp As IRobotApplication
  Dim ViewMngr As IRobotViewMngr
  Dim ActiveView As RobotView
  Dim CaseSel As RobotSelection
  
  Set RobApp = New RobotApplication
  Set ViewMngr = RobApp.Project.ViewMngr

  For i = 1 To ViewMngr.ViewCount
    If ViewMngr.GetView(i).Window.IsActive = -1 Then ActiveViewNumber = i: Exit For
  Next i
  Set ActiveView = ViewMngr.GetView(ActiveViewNumber)
  
  Set CaseSel = ActiveView.Selection.Get(I_OT_CASE)
      CaseSel.FromText "15"
  ViewMngr.Refresh
  
  Set RobApp = Nothing
End Sub&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2022 20:26:48 GMT</pubDate>
    <dc:creator>Stephane.kapetanovic</dc:creator>
    <dc:date>2022-01-20T20:26:48Z</dc:date>
    <item>
      <title>(API) ROBOT / VBA: Activate or select load case</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-robot-vba-activate-or-select-load-case/m-p/10890468#M12009</link>
      <description>&lt;P&gt;I'm creating a tool that inserts the load train into the model. First it creates the load case, then adds a set of nodal loads around some given node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I present the results by selecting the new load case in the list?&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-center" image-alt="Load train created with VBA. Case #15 is not being selected automatically." style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1013311iA463B93125508B98/image-size/large?v=v2&amp;amp;px=999" role="button" title="ex.png" alt="Load train created with VBA. Case #15 is not being selected automatically." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Load train created with VBA. Case #15 is not being selected automatically.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 13:13:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-robot-vba-activate-or-select-load-case/m-p/10890468#M12009</guid>
      <dc:creator>daniel_dcn</dc:creator>
      <dc:date>2022-01-19T13:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: (API) ROBOT / VBA: Activate or select load case</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-robot-vba-activate-or-select-load-case/m-p/10894551#M12010</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11885237"&gt;@daniel_dcn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Sub Select_Load_Case15()
  Dim RobApp As IRobotApplication
  Dim ViewMngr As IRobotViewMngr
  Dim ActiveView As RobotView
  Dim CaseSel As RobotSelection
  
  Set RobApp = New RobotApplication
  Set ViewMngr = RobApp.Project.ViewMngr

  For i = 1 To ViewMngr.ViewCount
    If ViewMngr.GetView(i).Window.IsActive = -1 Then ActiveViewNumber = i: Exit For
  Next i
  Set ActiveView = ViewMngr.GetView(ActiveViewNumber)
  
  Set CaseSel = ActiveView.Selection.Get(I_OT_CASE)
      CaseSel.FromText "15"
  ViewMngr.Refresh
  
  Set RobApp = Nothing
End Sub&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 20:26:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-robot-vba-activate-or-select-load-case/m-p/10894551#M12010</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2022-01-20T20:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: (API) ROBOT / VBA: Activate or select load case</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-robot-vba-activate-or-select-load-case/m-p/10897136#M12011</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 19:48:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-robot-vba-activate-or-select-load-case/m-p/10897136#M12011</guid>
      <dc:creator>daniel_dcn</dc:creator>
      <dc:date>2022-01-21T19:48:51Z</dc:date>
    </item>
  </channel>
</rss>

