<?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 - closing views in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220746#M15099</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3817195"&gt;@jazlik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The codes published here are for demonstration purposes.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2024 16:21:50 GMT</pubDate>
    <dc:creator>Stephane.kapetanovic</dc:creator>
    <dc:date>2024-12-19T16:21:50Z</dc:date>
    <item>
      <title>API - closing views</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/10256990#M15092</link>
      <description>&lt;P&gt;I'm creating alot of temporary views for screencaptures which I'm adding to the report using the API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i close the temporary views using the API?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:01:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/10256990#M15092</guid>
      <dc:creator>klavs</dc:creator>
      <dc:date>2021-04-21T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: API - closing views</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/10257190#M15093</link>
      <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor lia-component-message-view-widget-author-username"&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4839070" target="_self"&gt;&lt;SPAN class=""&gt;klavs&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp;You can reuse the same view, pic your capture and reset the view for another.&lt;/P&gt;&lt;P&gt;One is enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 16:20:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/10257190#M15093</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2021-04-21T16:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: API - closing views</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/10257236#M15094</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4839070"&gt;@klavs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try something similar to&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-load-combination-properties/m-p/4600351#M18483" target="_blank"&gt;https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-load-combination-properties/m-p/4600351#M18483&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 16:39:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/10257236#M15094</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2021-04-21T16:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: API - closing views</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/10258547#M15095</link>
      <description>&lt;P&gt;Thanks that did the trick&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 05:59:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/10258547#M15095</guid>
      <dc:creator>klavs</dc:creator>
      <dc:date>2021-04-22T05:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: API - closing views</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220221#M15096</link>
      <description>&lt;P&gt;Hey! The link &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/589195"&gt;@Rafal.Gaweda&lt;/a&gt;&amp;nbsp;sent is not working for me. Can somebody direct to me to it? I am in the same situation as the author of the post!&lt;BR /&gt;I am creating the view and later trying to close it/delete it as it slows down Robot quite a lot with so many views:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var panelSelection = GetPanelSelection(panelGroupName);&lt;BR /&gt;var rsaView = _rProject.ViewMngr.CreateView(IRobotViewType.I_VT_MAPS_ON_FINITE_ELEMENTS) as IRobotView3;&lt;/P&gt;&lt;P&gt;var selectedCombinations = GetCombGroupSelList(_rStructure.Groups, combType);&lt;BR /&gt;var getObjectsInView = rsaView.Selection.Get(IRobotObjectType.I_OT_CASE);&lt;BR /&gt;getObjectsInView.FromText(selectedCombinations);&lt;BR /&gt;rsaView.Selection.Set(IRobotObjectType.I_OT_PANEL, panelSelection);&lt;/P&gt;&lt;P&gt;var scrCaptureName = $"{panelGroupName} - {resultName} ({combType})";&lt;BR /&gt;CaptureRsaView(rsaView, scrCaptureName);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rsaView.Visible = -1;&lt;BR /&gt;Marshal.ReleaseComObject(view);&lt;BR /&gt;rsaView = null;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 12:45:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220221#M15096</guid>
      <dc:creator>jazlik</dc:creator>
      <dc:date>2024-12-19T12:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: API - closing views</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220500#M15097</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3817195"&gt;@jazlik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Community content was recently archived. We're working to restore the discussion threads, but they might remain unavailable for a while.&amp;nbsp;Support us here:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/community-content-archiving/td-p/13192733" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/robot-structural-analysis-forum/community-content-archiving/td-p/13192733&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Views can be closed like this:&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Sub CreateViewAndCloseIt()
  Dim RobApp As IRobotApplication: Set RobApp = New RobotApplication
  
  Dim View As IRobotView3
  With RobApp.Project.ViewMngr
    Set View = .CreateView(.GetView(1).Type)
  End With
  With View.Window
    .Activate
    .State = I_WS_MAXIMIZE
    '[...]
    .SendMessage &amp;amp;H10, 0, 0
  End With
  
  Set RobApp = Nothing
End Sub&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 08:36:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220500#M15097</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-10-31T08:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: API - closing views</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220603#M15098</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;&amp;nbsp; thank you! Was new RobotApplication created here on purpose? Or was it just for having access to ViewMngr for creating new View?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 15:18:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220603#M15098</guid>
      <dc:creator>jazlik</dc:creator>
      <dc:date>2024-12-19T15:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: API - closing views</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220746#M15099</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3817195"&gt;@jazlik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The codes published here are for demonstration purposes.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 16:21:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-closing-views/m-p/13220746#M15099</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2024-12-19T16:21:50Z</dc:date>
    </item>
  </channel>
</rss>

