<?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: Speed up API (Extract results) in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5653692#M68785</link>
    <description>Hello, I'm currently trying to get the maximum principal stress inside FE panels and I bumped into the query solution (getting the results with the extreme result server gives inacurate results). I work with VBA from Excel and when I try to create the RobotResultRowSet object I get an error 429. I tried both with early and late binding : - Dim rowset as New RobotResultRowSet - Dim rowset as Object; Set rowset = CreateObject("Robot.ResultRowSet") but they both give the same error on the object's creation. I tried unregistering and registering robot.exe (with /unregserver) as admin, as suggested in other posts but that did nothing I also tried running Robot and/or excel as admin but it dosen't work neither. I even checked the class in the register and "Robot.ResultRowSet" exists in HKEY_CLASSES_ROOT with a supplied class id. Do you have a solution ? Thanks, Regards. PS : To the admin team : Since a few weeks, I can't seem to display the topic list in the forum board, or even create a new post in this board. I tried with both firefox and IE and the result is exactly the same. Is there a workaround ?</description>
    <pubDate>Wed, 27 May 2015 15:21:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-27T15:21:51Z</dc:date>
    <item>
      <title>(API) Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5502598#M68776</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to extract panel node results from multiple model files.&lt;/P&gt;
&lt;P&gt;I'm using the following code to extract results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'-----------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim robotapp As IRobotApplication&lt;/P&gt;
&lt;P&gt;robotapp = New RobotApplication&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For i = 1 To grid1.Rows.Count - 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;robotapp.Project.Open(vecrutafile(i - 1))&lt;/P&gt;
&lt;P&gt;robotapp.Project.Preferences.Units.Refresh()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim filename As String&lt;/P&gt;
&lt;P&gt;filename = "\" &amp;amp; grid1(i, 1) &amp;amp; "_" &amp;amp; txtfile2pan.Text &amp;amp; ".csv"&lt;/P&gt;
&lt;P&gt;Dim objWriter As New IO.StreamWriter(savepath &amp;amp; filename)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim RSelection As RobotSelection&lt;/P&gt;
&lt;P&gt;RSelection = robotapp.Project.Structure.Selections.Create(IRobotObjectType.I_OT_PANEL)&lt;/P&gt;
&lt;P&gt;RSelection.FromText(elem)&lt;/P&gt;
&lt;P&gt;Dim panelcoll As RobotObjObjectCollection&lt;/P&gt;
&lt;P&gt;panelcoll = robotapp.Project.Structure.Objects.GetMany(RSelection)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim FileLines As String&lt;/P&gt;
&lt;P&gt;FileLines = ""&lt;/P&gt;
&lt;P&gt;FileLines = "Panel,Node,Case,UXX (cm),UYY (cm),WNorm. (cm),RXX (Deg),RYY (Deg)" &amp;amp; vbCrLf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For j = 1 To panelcoll.Count&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim obj As IRobotObjObject&lt;/P&gt;
&lt;P&gt;obj = panelcoll.Get(j)&lt;/P&gt;
&lt;P&gt;Dim panelnum As Long&lt;/P&gt;
&lt;P&gt;panelnum = obj.Number&lt;/P&gt;
&lt;P&gt;Dim nodes As String&lt;/P&gt;
&lt;P&gt;Dim nodesel As RobotSelection&lt;/P&gt;
&lt;P&gt;Dim nodecoll As RobotNodeCollection&lt;/P&gt;
&lt;P&gt;nodes = obj.Nodes&lt;/P&gt;
&lt;P&gt;nodesel = robotapp.Project.Structure.Selections.Create(IRobotObjectType.I_OT_NODE)&lt;/P&gt;
&lt;P&gt;nodesel.FromText(nodes)&lt;/P&gt;
&lt;P&gt;nodecoll = robotapp.Project.Structure.Nodes.GetMany(nodesel)&lt;/P&gt;
&lt;P&gt;Dim FEparams As New RobotFeResultParams&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If combolayer.SelectedIndex = 0 Then&lt;/P&gt;
&lt;P&gt;FEparams.Layer = IRobotFeLayerType.I_FLT_UPPER&lt;/P&gt;
&lt;P&gt;ElseIf combolayer.SelectedIndex = 1 Then&lt;/P&gt;
&lt;P&gt;FEparams.Layer = IRobotFeLayerType.I_FLT_MIDDLE&lt;/P&gt;
&lt;P&gt;ElseIf combolayer.SelectedIndex = 2 Then&lt;/P&gt;
&lt;P&gt;FEparams.Layer = IRobotFeLayerType.I_FLT_LOWER&lt;/P&gt;
&lt;P&gt;Else&lt;/P&gt;
&lt;P&gt;End If&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FEparams.SetDirX(IRobotObjLocalXDirDefinitionType.I_OLXDDT_UNDEFINED, 0, 0, 0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For k = 1 To nodecoll.Count&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim node As IRobotNode&lt;/P&gt;
&lt;P&gt;node = nodecoll.Get(k)&lt;/P&gt;
&lt;P&gt;Dim nodenum As Long&lt;/P&gt;
&lt;P&gt;nodenum = node.Number&lt;/P&gt;
&lt;P&gt;FEparams.Node = node.Number&lt;/P&gt;
&lt;P&gt;FEparams.Case = caso&lt;/P&gt;
&lt;P&gt;Dim FEresults As RobotFeResultDetailed&lt;/P&gt;
&lt;P&gt;FEresults = robotapp.Project.Structure.Results.FiniteElems.Detailed(FEparams)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FileLines = FileLines &amp;amp; " " &amp;amp; panelnum &amp;amp; ", " &amp;amp; nodenum &amp;amp; ", " &amp;amp; caso &amp;amp; ","&lt;/P&gt;
&lt;P&gt;FileLines = FileLines &amp;amp; Format(FEresults.UXX * 100, "0.000") &amp;amp; ","&lt;/P&gt;
&lt;P&gt;FileLines = FileLines &amp;amp; Format(FEresults.UYY * 100, "0.000") &amp;amp; ","&lt;/P&gt;
&lt;P&gt;FileLines = FileLines &amp;amp; Format(FEresults.WNorm * 100, "0.000") &amp;amp; ","&lt;/P&gt;
&lt;P&gt;FileLines = FileLines &amp;amp; Format(FEresults.RXX * (180 / Math.PI), "0.000") &amp;amp; ","&lt;/P&gt;
&lt;P&gt;FileLines = FileLines &amp;amp; Format(FEresults.RYY * (180 / Math.PI), "0.000") &amp;amp; vbCrLf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;objWriter.Write(FileLines)&lt;/P&gt;
&lt;P&gt;objWriter.Close()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;robotapp.Project.Close()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Next&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;robotapp.Quit(IRobotQuitOption.I_QO_DISCARD_CHANGES)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'-----------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that extracting results for each model is taking up to 8min (larger models with aprox 300 panels and 80 nodes per panel), and total number of models is around 80.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to speed up the process?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 07:26:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5502598#M68776</guid>
      <dc:creator>alfredmx</dc:creator>
      <dc:date>2017-05-16T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5502783#M68777</link>
      <description>See:&lt;BR /&gt;&lt;A href="http://forums.autodesk.com/t5/robot-structural-analysis/api-fem-results-via-query-mechanism/m-p/4965994/highlight/true#M22808" target="_blank"&gt;http://forums.autodesk.com/t5/robot-structural-analysis/api-fem-results-via-query-mechanism/m-p/4965994/highlight/true#M22808&lt;/A&gt;</description>
      <pubDate>Wed, 11 Feb 2015 07:54:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5502783#M68777</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2015-02-11T07:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5503394#M68778</link>
      <description>&lt;P&gt;Hello Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help. I will give it a try. Is it possible to have example code in VB?, I'm not very familiar with C++ syntax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 15:38:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5503394#M68778</guid>
      <dc:creator>alfredmx</dc:creator>
      <dc:date>2015-02-11T15:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5503403#M68779</link>
      <description>&lt;PRE&gt;Private Sub CommandButton2_Click()


Dim RobApp As New RobotOM.RobotApplication

Dim Res As IRobotResultQueryReturnType
Dim RobResQueryParams As RobotResultQueryParams
Dim RobResRowSet As New RobotResultRowSet

Dim SelPanel As RobotSelection
Dim SelCas As RobotSelection

Set SelPanel = RobApp.Project.Structure.Selections.Create(I_OT_PANEL)
Set SelCas = RobApp.Project.Structure.Selections.Create(I_OT_CASE)
SelPanel.FromText ("all")
SelCas.FromText ("all")

Set RobResQueryParams = RobApp.CmpntFactory.Create(I_CT_RESULT_QUERY_PARAMS)
RobResQueryParams.ResultIds.SetSize (1)
RobResQueryParams.Selection.Set I_OT_PANEL, SelPanel
RobResQueryParams.Selection.Set I_OT_CASE, SelCas
RobResQueryParams.SetParam I_RPT_MAX_BUFFER_SIZE, 2000000
RobResQueryParams.SetParam I_RPT_SMOOTHING, I_FRS_SMOOTHING_WITHIN_A_PANEL
RobResQueryParams.SetParam I_RPT_LAYER, I_FLT_ABSOLUTE_MAXIMUM
RobResQueryParams.SetParam I_RPT_DIR_X_DEFTYPE, I_OLXDDT_CARTESIAN
RobResQueryParams.SetParam I_RPT_DIR_X, 1, 0, 0

RobResQueryParams.ResultIds.Set 1, I_FRT_DETAILED_TXX


'Set Res = RobApp.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)

'Dim q As New Object
Dim v As Double

Dim max As Double
Dim min As Double
max = 0
min = 0

Do
 Res = RobApp.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)
Dim ok As Boolean
ok = RobResRowSet.MoveFirst()
While ok
v = RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(1))
If (min &amp;gt; v) Then min = v
If (max &amp;lt; v) Then max = v
ok = RobResRowSet.MoveNext()
Wend
Loop While Res = I_RQRT_MORE_AVAILABLE

MsgBox ("min = " &amp;amp; min &amp;amp; " max = " &amp;amp; max)
End Sub&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 15:41:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5503403#M68779</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2015-02-11T15:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5503769#M68780</link>
      <description>&lt;P&gt;Hello Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#008000" size="2"&gt;&lt;FONT face="Consolas" color="#008000" size="2"&gt;&lt;FONT face="Consolas" color="#008000" size="2"&gt;'_____________&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; Res &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotResultQueryReturnType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; RobResQueryParams &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;RobotResultQueryParams&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; RobResRowSet &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;RobotResultRowSet&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; RSelection &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;RobotSelection&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RSelection = robotapp.Project.Structure.Selections.Create(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotObjectType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_OT_PANEL)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;RSelection.FromText(elem)&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Dim&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; RSelectioncase &lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt; &lt;FONT face="Consolas" color="#2b91af" size="2"&gt;RobotSelection&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RSelectioncase = robotapp.Project.Structure.Selections.Create(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotObjectType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_OT_CASE)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RSelectioncase.FromText(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.ToString(caso))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; FileLines &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;FileLines = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;FileLines = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"Panel,Node,Case,UXX (cm),UYY (cm),WNorm. (cm),RXX (Deg),RYY (Deg)"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCrLf&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams = robotapp.CmpntFactory.Create(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotComponentType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_CT_RESULT_QUERY_PARAMS)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;RobResQueryParams.ResultIds.SetSize(5)&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.Selection.Set(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotObjectType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_OT_PANEL, RSelection)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.Selection.Set(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotObjectType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_OT_CASE, RSelectioncase)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.SetParam(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotResultParamType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_RPT_MAX_BUFFER_SIZE, 2000000)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.SetParam(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotResultParamType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_RPT_SMOOTHING, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeResultSmoothing&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FRS_GLOBAL_SMOOTHING)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; combolayer.SelectedIndex = 0 &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.SetParam(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotResultParamType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_RPT_LAYER, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeLayerType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FLT_UPPER)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;ElseIf&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; combolayer.SelectedIndex = 1 &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.SetParam(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotResultParamType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_RPT_LAYER, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeLayerType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FLT_MIDDLE)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;ElseIf&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; combolayer.SelectedIndex = 2 &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.SetParam(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotResultParamType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_RPT_LAYER, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeLayerType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FLT_LOWER)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Else&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.SetParam(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotResultParamType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_RPT_DIR_X_DEFTYPE, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotObjLocalXDirDefinitionType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_OLXDDT_UNDEFINED)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#008000" size="2"&gt;&lt;FONT face="Consolas" color="#008000" size="2"&gt;&lt;FONT face="Consolas" color="#008000" size="2"&gt;'RobResQueryParams.SetParam(I_RPT_DIR_X, 1, 0, 0)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.ResultIds.Set(1, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeResultType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FRT_DETAILED_UXX)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.ResultIds.Set(2, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeResultType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FRT_DETAILED_UYY)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.ResultIds.Set(3, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeResultType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FRT_DETAILED_WNORM)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.ResultIds.Set(4, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeResultType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FRT_DETAILED_RXX)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;RobResQueryParams.ResultIds.Set(5, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotFeResultType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_FRT_DETAILED_RYY)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Res = robotapp.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Do&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;While&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; Res = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;IRobotResultQueryReturnType&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.I_RQRT_MORE_AVAILABLE&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; ok &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Boolean&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ok = RobResRowSet.MoveFirst()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;While&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; ok&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;FileLines = FileLines &amp;amp; Format(RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(1)) * 100, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"0.000"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;) &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;","&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;FileLines = FileLines &amp;amp; Format(RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(2)) * 100, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"0.000"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;) &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;","&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;FileLines = FileLines &amp;amp; Format(RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(3)) * 100, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"0.000"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;) &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;","&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;FileLines = FileLines &amp;amp; Format(RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(4)) * (180 / &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;Math&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.PI), &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"0.000"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;) &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;","&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;FileLines = FileLines &amp;amp; Format(RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(5)) * (180 / &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;Math&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;.PI), &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"0.000"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;) &amp;amp; vbCrLf&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ok = RobResRowSet.MoveNext()&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;While&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Res = robotapp.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;Loop&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#008000" size="2"&gt;'_____________&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be working fine, because "FileLines" captures some results, but at some point within "While ok" loop a COM&amp;nbsp;exception crashes&amp;nbsp;the procees with HRESULT E_FAIL error. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 18:45:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5503769#M68780</guid>
      <dc:creator>alfredmx</dc:creator>
      <dc:date>2015-02-11T18:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5504449#M68781</link>
      <description>It works fine.&lt;BR /&gt;Try to register Robot as admin.&lt;BR /&gt;If it does not help - send us Robot file to check it with this code.</description>
      <pubDate>Thu, 12 Feb 2015 07:39:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5504449#M68781</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2015-02-12T07:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5506548#M68782</link>
      <description>&lt;P&gt;Hello Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By register Robot as admin you mean post 8 in this topic, or just "Run as admin"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/robot-structural-analysis/vba-excel-macro-for-any-object-geometry-modifications-api/td-p/3188766" target="_blank"&gt;http://forums.autodesk.com/t5/robot-structural-analysis/vba-excel-macro-for-any-object-geometry-modifications-api/td-p/3188766&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:53:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5506548#M68782</guid>
      <dc:creator>alfredmx</dc:creator>
      <dc:date>2015-02-13T15:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5506697#M68783</link>
      <description>&lt;P&gt;&lt;SPAN&gt;post 8 &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2015 17:10:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5506697#M68783</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2015-02-13T17:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5511508#M68784</link>
      <description>&lt;P&gt;Hello Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delay. I've been busy with an upcoming structural drawings delivery. In the meantime, I've been using current (slow) code to extract results from all model files. I will try suggested solution as soon as I have some free time. Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 17:06:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5511508#M68784</guid>
      <dc:creator>alfredmx</dc:creator>
      <dc:date>2015-02-18T17:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5653692#M68785</link>
      <description>Hello, I'm currently trying to get the maximum principal stress inside FE panels and I bumped into the query solution (getting the results with the extreme result server gives inacurate results). I work with VBA from Excel and when I try to create the RobotResultRowSet object I get an error 429. I tried both with early and late binding : - Dim rowset as New RobotResultRowSet - Dim rowset as Object; Set rowset = CreateObject("Robot.ResultRowSet") but they both give the same error on the object's creation. I tried unregistering and registering robot.exe (with /unregserver) as admin, as suggested in other posts but that did nothing I also tried running Robot and/or excel as admin but it dosen't work neither. I even checked the class in the register and "Robot.ResultRowSet" exists in HKEY_CLASSES_ROOT with a supplied class id. Do you have a solution ? Thanks, Regards. PS : To the admin team : Since a few weeks, I can't seem to display the topic list in the forum board, or even create a new post in this board. I tried with both firefox and IE and the result is exactly the same. Is there a workaround ?</description>
      <pubDate>Wed, 27 May 2015 15:21:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5653692#M68785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-27T15:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5653698#M68786</link>
      <description>Sorry, retrying to post with the right formatrting : Hello, I'm currently trying to get the maximum principal stress inside FE panels and I bumped into the query solution (getting the results with the extreme result server gives inacurate results). I work with VBA from Excel and when I try to create the RobotResultRowSet object I get an error 429. I tried both with early and late binding : - Dim rowset as New RobotResultRowSet - Dim rowset as Object; Set rowset = CreateObject("Robot.ResultRowSet") but they both give the same error on the object's creation. I tried unregistering and registering robot.exe (with /unregserver) as admin, as suggested in other posts but that did nothing I also tried running Robot and/or excel as admin but it dosen't work neither. I even checked the class in the register and "Robot.ResultRowSet" exists in HKEY_CLASSES_ROOT with a supplied class id. Do you have a solution ? Thanks, Regards. PS : To the admin team : Since a few weeks, I can't seem to display the topic list in the forum board, or even create a new post in this board. I tried with both firefox and IE and the result is exactly the same. Is there a workaround ?</description>
      <pubDate>Wed, 27 May 2015 15:23:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5653698#M68786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-27T15:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5655025#M68787</link>
      <description>&lt;A href="http://forums.autodesk.com/t5/robot-structural-analysis/api-inaccurate-results-using-the-extreme-results-server/m-p/5655022#M34279" target="_blank"&gt;http://forums.autodesk.com/t5/robot-structural-analysis/api-inaccurate-results-using-the-extreme-results-server/m-p/5655022#M34279&lt;/A&gt;</description>
      <pubDate>Thu, 28 May 2015 13:16:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/5655025#M68787</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2015-05-28T13:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7083723#M68788</link>
      <description>&lt;P&gt;Could anyone point me in the direction of being able to achieve the above but for results for bars? I.E. forces and moments in a bar? I have had a look at changing the "IRobotFeResultType" but can't find an alternative.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 10:51:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7083723#M68788</guid>
      <dc:creator>thomas.channell</dc:creator>
      <dc:date>2017-05-15T10:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7084046#M68789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3801173"&gt;@thomas.channell&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is example for bars&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Private Sub CommandButton2_Click()

Dim RobApp As New RobotOM.RobotApplication

Dim Res As IRobotResultQueryReturnType
Dim RobResQueryParams As RobotResultQueryParams
Dim RobResRowSet As New RobotResultRowSet

Dim SelBar As RobotSelection
Dim SelCas As RobotSelection

Set SelBar = RobApp.Project.Structure.Selections.Create(I_OT_BAR)
Set SelCas = RobApp.Project.Structure.Selections.Create(I_OT_CASE)
SelBar.AddText ("1")
SelCas.AddText ("1")

Set RobResQueryParams = RobApp.CmpntFactory.Create(I_CT_RESULT_QUERY_PARAMS)
RobResQueryParams.Selection.Set I_OT_BAR, SelBar
RobResQueryParams.Selection.Set I_OT_CASE, SelCas
RobResQueryParams.SetParam I_RPT_BAR_ELEMENT_DIV_COUNT, 11

RobResQueryParams.ResultIds.SetSize (6)

RobResQueryParams.ResultIds.Set 1, I_EVT_FORCE_BAR_FX
RobResQueryParams.ResultIds.Set 2, I_EVT_FORCE_BAR_FY
RobResQueryParams.ResultIds.Set 3, I_EVT_FORCE_BAR_FZ
RobResQueryParams.ResultIds.Set 4, I_EVT_FORCE_BAR_MX
RobResQueryParams.ResultIds.Set 5, I_EVT_FORCE_BAR_MY
RobResQueryParams.ResultIds.Set 6, I_EVT_FORCE_BAR_MZ

'Set Res = RobApp.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)

'Dim q As New Object
Dim v As Double

Dim max As Double
Dim min As Double
max = 0
min = 0

Do
 Res = RobApp.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)
Dim ok As Boolean
ok = RobResRowSet.MoveFirst()
While ok
v = RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(5))
If (min &amp;gt; v) Then min = v
If (max &amp;lt; v) Then max = v
ok = RobResRowSet.MoveNext()
Wend
Loop While Res = I_RQRT_MORE_AVAILABLE

MsgBox ("min = " &amp;amp; min &amp;amp; " max = " &amp;amp; max)
End Sub&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 May 2017 13:17:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7084046#M68789</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-15T13:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7084414#M68790</link>
      <description>&lt;P&gt;I am working in C# and am trying to instantiate the class below like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;RobotResultRowSet&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; RobResRowSet = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;RobotResultRowSet&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;... but I then get the following error?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG&gt;System.Runtime.InteropServices.COMException:&lt;/STRONG&gt; 'Retrieving the COM class factory for component with CLSID {F335E413-5241-418C-9421-A4D1B545F923} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 14:52:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7084414#M68790</guid>
      <dc:creator>thomas.channell</dc:creator>
      <dc:date>2017-05-15T14:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7084425#M68791</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3801173"&gt;@thomas.channell&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It must be 64 bit application \ exe as a result&lt;/P&gt;
&lt;P&gt;Queryparams is only 64 bit.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 14:59:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7084425#M68791</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-15T14:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7084478#M68792</link>
      <description>&lt;P&gt;Thanks for this :).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we are running a 32 bit application/.exe, how much depreciation in speed would we expect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently performing any interaction seems to lag a bit, hence the question.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 15:14:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7084478#M68792</guid>
      <dc:creator>thomas.channell</dc:creator>
      <dc:date>2017-05-15T15:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7086032#M68793</link>
      <description>&lt;P&gt;Also, further to this, if there are any other methods of getting the results data out of Robot other than this method above and the method below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;RobotBarForceData&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; forceData = robApp.Project.Structure.Results.Bars.Forces.Value(&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;Convert&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.ToInt16(member.id), caseNumber, Point);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 06:55:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7086032#M68793</guid>
      <dc:creator>thomas.channell</dc:creator>
      <dc:date>2017-05-16T06:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7086086#M68794</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3801173"&gt;@thomas.channell&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;how much depreciation in speed would we expect.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It depends on model size and amount of results. I can say, &amp;nbsp;in general, "significant" difference.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 07:31:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7086086#M68794</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-16T07:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up API (Extract results)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7086104#M68795</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3801173"&gt;@thomas.channell&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Also, further to this, if there are any other methods of getting the results data out of Robot other than this method above and the method below?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;RobotBarForceData&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; forceData = robApp.Project.Structure.Results.Bars.Forces.Value(&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.ToInt16(member.id), caseNumber, Point);&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above line in faster way, especially if you will use BarForceServer.Value(...) &amp;nbsp; in the loop:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim BarForceServer As RobotBarForceServer
Set BarForceServer = RobApp.Project.Structure.Results.Bars.Forces
Dim BFD As RobotBarForceData&lt;BR /&gt;&lt;BR /&gt;For i = 1 To BarCol.Count
    Set BFD = BarForceServer.Value(....)&lt;BR /&gt;    .....&lt;BR /&gt;Next i&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will find other servers in Robot API&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Methods depend on your choice. You can use also:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RobApp.Project.Structure.Results.Extremes....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 07:41:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-speed-up-api-extract-results/m-p/7086104#M68795</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-16T07:41:52Z</dc:date>
    </item>
  </channel>
</rss>

