<?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: VB for Excel API not Extracting Peak Member Forces from Robot in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3162146#M84325</link>
    <description>&lt;P&gt;Thanks Rafal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RoboExploiter&lt;/SPAN&gt;﻿ has enlisted me to help out, and with your hints the query is working now.&amp;nbsp; Just need to confirm it's doing the right thing.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2011 06:31:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-09-19T06:31:23Z</dc:date>
    <item>
      <title>VB for Excel API not Extracting Peak Member Forces from Robot</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3146292#M84318</link>
      <description>&lt;P&gt;Hope someone can help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using VB to &amp;nbsp;extract peak member forces from Robot for a given set of load cases﻿. &amp;nbsp;Unfortunately in the case where a given bar position has 2 member forces, Robot will pass the lower of the 2 values to Excel. &amp;nbsp;The result is that my code and spreadsheet and therefore my structural design is not capturing the peak moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think this is a problem with my code, its working at every other position of the structure. &amp;nbsp;I have a work around in mind, but forcing a peak moment extraction would be first prize.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Private Sub GetBarForces()
    Dim rbForceServer As RobotBarForceServer
    Dim rbCase_Col As RobotCaseCollection
    Dim lBarNum As Long
    Dim lCaseNum As Long
    Dim rbForceData As RobotBarForceData
    Dim ResultFx As Double, ResultFz As Double, ResultMy As Double
    Dim rbCase As IRobotCase
    Dim rbCase_Sel As RobotSelection
    Dim i, j As Integer
    Dim iNumPositions As Integer
    Dim iMinFx, iMaxFx As Single
    Dim iMinFz, iMaxFz As Single
    Dim iMinMy, iMaxMy As Single
    Dim iBarPosition, iBarLength As Single
    Dim rRange As Range
    
    'set collection of load cases
    Set rbCase_Sel = Robot.Project.Structure.Selections.Create(I_OT_CASE)
    rbCase_Sel.AddText (sCaseNums)
    Set rbCase_Col = Robot.Project.Structure.Cases.GetMany(rbCase_Sel)
    
    'set Robot forceserver
    Set rbForceServer = Robot.Project.Structure.Results.Bars.Forces
    
    With Worksheets("Case 2&amp;amp;3- " &amp;amp; vWallResults(1, iWallNum))
        .Unprotect
        iBarLength = vWallResults(3, iWallNum) - vWallResults(4, iWallNum)
        Set rRange = .Range("A:A")
        iNumPositions = Application.WorksheetFunction.Count(rRange)
        
        For i = 1 To iNumPositions
            
            'update status window
            With frmStatusWindow
                .txtStatusWindow = .txtStatusWindow.Text _
                    &amp;amp; ". "
            End With
                
            'set position on bar for force extraction
            iBarPosition = (vWallResults(3, iWallNum) - .Cells(6 + i, 1)) / iBarLength

            For j = 1 To rbCase_Col.Count
                'get jth load case
                Set rbCase = rbCase_Col.Get(j)
                lCaseNum = rbCase.Number
                
                'set bar number for force extraction
                lBarNum = vWallResults(2, iWallNum)
                
                'extract forces/moments
                Set rbForceData = rbForceServer.Value(lBarNum, lCaseNum, iBarPosition)
                ResultFx = rbForceData.FX
                ResultFz = rbForceData.FZ
                ResultMy = rbForceData.MY
                
                'initialise envelope variables
                If j = 1 Then
                    iMinFx = ResultFx
                    iMaxFx = ResultFx
                    iMinFz = ResultFz
                    iMaxFz = ResultFz
                    iMinMy = ResultMy
                    iMaxMy = ResultMy
                End If
                
                'compare forces/moments to determine envelope
                If ResultFx &amp;lt; iMinFx Then
                    iMinFx = ResultFx
                End If
                If ResultFx &amp;gt; iMaxFx Then
                    iMaxFx = ResultFx
                End If
                
                If ResultFz &amp;lt; iMinFz Then
                    iMinFz = ResultFz
                End If
                If ResultFz &amp;gt; iMaxFz Then
                    iMaxFz = ResultFz
                End If
                
                If ResultMy &amp;lt; iMinMy Then
                    iMinMy = ResultMy
                End If
                If ResultMy &amp;gt; iMaxMy Then
                    iMaxMy = ResultMy
                End If
                
                Set rbForceData = Nothing
            Next j
            
            'record force/moment envelope to spreadsheet
            With rCase
                .Cells(6 + i, 1) = iMinFx / 1000
                .Cells(6 + i, 2) = iMaxFx / 1000
                .Cells(6 + i, 3) = iMinFz / 1000
                .Cells(6 + i, 4) = iMaxFz / 1000
                .Cells(6 + i, 5) = iMinMy / 1000
                .Cells(6 + i, 6) = iMaxMy / 1000
            End With
        Next i&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks in Advance for your help.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2011 09:43:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3146292#M84318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-04T09:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: VB for Excel API not Extracting Peak Member Forces from Robot</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3146628#M84319</link>
      <description>&lt;P&gt;My assumption is that you have this bar divided into number of calculation elements (intermediate nodes along&amp;nbsp;the bar). &lt;BR /&gt;There are several possibilities:&lt;BR /&gt;1. Change model to avoid bar division (e.g. split bar into two smaller at node 100)&lt;BR /&gt;2. Read value from dx from both sides of this point&lt;BR /&gt;3. Use extreme server to find min and max value&lt;BR /&gt;Dim r As New RobotOM.RobotApplication&lt;BR /&gt;Dim ep As RobotOM.RobotExtremeParams&lt;BR /&gt;Dim selCas As RobotOM.RobotSelection&lt;BR /&gt;Dim selBar As RobotOM.RobotSelection&lt;BR /&gt;&lt;BR /&gt;selBar = r.Project.Structure.Selections.Create(RobotOM.IRobotObjectType.I_OT_BAR)&lt;BR /&gt;selCas = r.Project.Structure.Selections.Create(RobotOM.IRobotObjectType.I_OT_CASE)&lt;BR /&gt;&lt;BR /&gt;selBar.FromText("1")&lt;BR /&gt;selCas.FromText("1")&lt;BR /&gt;&lt;BR /&gt;ep = r.CmpntFactory.Create(RobotOM.IRobotComponentType.I_CT_EXTREME_PARAMS)&lt;BR /&gt;&lt;BR /&gt;ep.ValueType = RobotOM.IRobotExtremeValueType.I_EVT_FORCE_BAR_MY&lt;BR /&gt;ep.Selection.Set(RobotOM.IRobotObjectType.I_OT_CASE, selCas)&lt;BR /&gt;ep.Selection.Set(RobotOM.IRobotObjectType.I_OT_BAR, selBar)&lt;BR /&gt;ep.BarDivision = 11&lt;BR /&gt;&lt;BR /&gt;Dim ev As RobotOM.RobotExtremeValue&lt;BR /&gt;&lt;BR /&gt;ev = r.Project.Structure.Results.Extremes.MaxValue(ep)&lt;BR /&gt;MsgBox(ev.Value)&lt;BR /&gt;ev = r.Project.Structure.Results.Extremes.MinValue(ep)&lt;BR /&gt;MsgBox(ev.Value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely the 4th solution below will be the best:&lt;BR /&gt;4. Use the query mechanism able to working on elements (since RSA 2012). Example:&lt;BR /&gt;Dim RobApp As New RobotOM.RobotApplication&lt;BR /&gt;&lt;BR /&gt;Dim Res As RobotOM.IRobotResultQueryReturnType&lt;BR /&gt;Dim RobResQueryParams As RobotOM.RobotResultQueryParams&lt;BR /&gt;Dim RobResRowSet As New RobotOM.RobotResultRowSet&lt;BR /&gt;&lt;BR /&gt;Dim SelBar As RobotOM.RobotSelection&lt;BR /&gt;Dim SelCas As RobotOM.RobotSelection&lt;BR /&gt;&lt;BR /&gt;SelBar = RobApp.Project.Structure.Selections.Create(RobotOM.IRobotObjectType.I_OT_BAR)&lt;BR /&gt;SelCas = RobApp.Project.Structure.Selections.Create(RobotOM.IRobotObjectType.I_OT_CASE)&lt;BR /&gt;SelBar.AddText("1")&lt;BR /&gt;SelCas.AddText("1")&lt;BR /&gt;&lt;BR /&gt;RobResQueryParams = RobApp.CmpntFactory.Create(RobotOM.IRobotComponentType.I_CT_RESULT_QUERY_PARAMS)&lt;BR /&gt;RobResQueryParams.Selection.Set(RobotOM.IRobotObjectType.I_OT_BAR, SelBar)&lt;BR /&gt;RobResQueryParams.Selection.Set(RobotOM.IRobotObjectType.I_OT_CASE, SelCas)&lt;BR /&gt;RobResQueryParams.SetParam(RobotOM.IRobotResultParamType.I_RPT_BAR_ELEMENT_DIV_COUNT, 11)&lt;BR /&gt;&lt;BR /&gt;RobResQueryParams.ResultIds.SetSize(6)&lt;BR /&gt;&lt;BR /&gt;RobResQueryParams.ResultIds.Set(1, RobotOM.IRobotExtremeValueType.I_EVT_FORCE_BAR_FX)&lt;BR /&gt;RobResQueryParams.ResultIds.Set(2, RobotOM.IRobotExtremeValueType.I_EVT_FORCE_BAR_FY)&lt;BR /&gt;RobResQueryParams.ResultIds.Set(3, RobotOM.IRobotExtremeValueType.I_EVT_FORCE_BAR_FZ)&lt;BR /&gt;RobResQueryParams.ResultIds.Set(4, RobotOM.IRobotExtremeValueType.I_EVT_FORCE_BAR_MX)&lt;BR /&gt;RobResQueryParams.ResultIds.Set(5, RobotOM.IRobotExtremeValueType.I_EVT_FORCE_BAR_MY)&lt;BR /&gt;RobResQueryParams.ResultIds.Set(6, RobotOM.IRobotExtremeValueType.I_EVT_FORCE_BAR_MZ)&lt;BR /&gt;&lt;BR /&gt;Res = RobApp.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)&lt;BR /&gt;&lt;BR /&gt;Dim q As New Object&lt;BR /&gt;Dim v As Double&lt;BR /&gt;&lt;BR /&gt;Dim max As Double&lt;BR /&gt;Dim min As Double&lt;BR /&gt;max = 0&lt;BR /&gt;min = 0&lt;BR /&gt;&lt;BR /&gt;Do&lt;BR /&gt;Res = RobApp.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)&lt;BR /&gt;Dim ok As Boolean&lt;BR /&gt;ok = RobResRowSet.MoveFirst()&lt;BR /&gt;While ok&lt;BR /&gt;v = RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(5))&lt;BR /&gt;If (min &amp;gt; v) Then min = v&lt;BR /&gt;If (max &amp;lt; v) Then max = v&lt;BR /&gt;ok = RobResRowSet.MoveNext()&lt;BR /&gt;End While&lt;BR /&gt;Loop While Res = RobotOM.IRobotResultQueryReturnType.I_RQRT_MORE_AVAILABLE&lt;BR /&gt;&lt;BR /&gt;MsgBox("min = " &amp;amp; min &amp;amp; " max = " &amp;amp; max)&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;If you find your post answered press the Accept as Solution button please. This will help other users to find solutions much faster. Thank you.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 08:16:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3146628#M84319</guid>
      <dc:creator>Artur.Kosakowski</dc:creator>
      <dc:date>2011-09-05T08:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: VB for Excel API not Extracting Peak Member Forces from Robot</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3150244#M84321</link>
      <description>&lt;P&gt;Hi Artur,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Not possible. &amp;nbsp;The bar is continuous, but there are nodes along the length where i've placed spring supports.&lt;/P&gt;&lt;P&gt;2) This is my potential workaround, I was hoping for another quicker/neater solution.&lt;/P&gt;&lt;P&gt;3) On what version of RSA is this available? &amp;nbsp;I have RSA Pro 2010.&lt;/P&gt;&lt;P&gt;4) &amp;nbsp;Thanks, however I don't have RSA 2012.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 09:28:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3150244#M84321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-08T09:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: VB for Excel API not Extracting Peak Member Forces from Robot</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3150272#M84322</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;API for methods 3 and 4 should be available in ARSA 2010.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 10:14:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3150272#M84322</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2011-09-08T10:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: VB for Excel API not Extracting Peak Member Forces from Robot</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3156946#M84323</link>
      <description>&lt;P&gt;Hi Gents,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help so far. &amp;nbsp;I think i'm almost there. &amp;nbsp;I've tried to adapt your piece of code to work properly, but I'm having some difficulty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I'm running this query mechanism &amp;nbsp;I am given this error at the&amp;nbsp;&lt;/P&gt;&lt;P&gt;ResultFx= RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(1))﻿ : &amp;nbsp;"&lt;EM&gt;Run Time Error '-2147467259 (80004005)': &amp;nbsp;Method 'GetValue of object 'IRobotResultRow' failed".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the error occurs because I haven't defined RobResRowSet properly. &amp;nbsp;Can you help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub Extreme_Bar_Forces()
    

''Using the query mechanism
Dim Res As RobotOM.IRobotResultQueryReturnType
Dim RobResQueryParams As RobotResultQueryParams
Dim RobResRowSet As New RobotResultRowSet
Dim SelBar As RobotSelection
Dim SelCase As RobotSelection

Dim v As Double
Dim max As Double
Dim min As Double
Dim ok As Boolean
Dim iBarPosition, iNumpositions, iBarLength, i, j As Single
Dim rRange As Range
Dim ResultFx, ResultFz, ResultMy, iMinFx, iMaxFx, iMinFz, iMaxFz, iMinMy, iMaxMy As Double


    'set collection of load cases
    Set SelCase = Robot.Project.Structure.Selections.Create(I_OT_CASE)
    SelCase.FromText (sCaseNums)
    MsgBox sCaseNums
    Set SelBar = Robot.Project.Structure.Selections.Create(I_OT_BAR)
    
    Set RobResQueryParams = Robot.CmpntFactory.Create(I_CT_RESULT_QUERY_PARAMS)
   
   
    RobResQueryParams.Selection.Set I_OT_BAR, SelCase
    RobResQueryParams.Selection.Set I_OT_BAR, SelBar
    
    RobResQueryParams.ResultIds.SetSize 6
    
    RobResQueryParams.ResultIds.Set 1, IRobotExtremeValueType.I_EVT_FORCE_BAR_FX
    RobResQueryParams.ResultIds.Set 2, IRobotExtremeValueType.I_EVT_FORCE_BAR_FY
    RobResQueryParams.ResultIds.Set 3, IRobotExtremeValueType.I_EVT_FORCE_BAR_FZ
    RobResQueryParams.ResultIds.Set 4, IRobotExtremeValueType.I_EVT_FORCE_BAR_MX
    RobResQueryParams.ResultIds.Set 5, IRobotExtremeValueType.I_EVT_FORCE_BAR_MY
    RobResQueryParams.ResultIds.Set 6, IRobotExtremeValueType.I_EVT_FORCE_BAR_MZ
    
   'Set RobResRowSet = Robot.CmpntFactory.Create(??_??_??)
    

    With Worksheets("Forces " &amp;amp; vWallResults(1, iWallNum))
        .Unprotect
        iBarLength = vWallResults(3, iWallNum) - vWallResults(4, iWallNum)
        Set rRange = .Range("A:A")
        iNumpositions = Application.WorksheetFunction.Count(rRange)
        
        Res = Robot.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)
        
        ok = RobResRowSet.MoveNext()
        
        For i = 1 To iNumpositions
            
            'update status window
            With frmStatusWindow
                .txtStatusWindow = .txtStatusWindow.Text _
                    &amp;amp; ". "
            End With
                
            'set position on bar for force extraction
            'iBarPosition = (vWallResults(3, iWallNum) - .Cells(6 + i, 1)) / iBarLength
            RobResQueryParams.SetParam I_RPT_BAR_DIV_COUNT, iNumpositions
            
            For j = 1 To SelCase.Count
                'get jth load case
                'Set jCase = SelCase.Get(j)
                 
                'lCaseNum = SelCase.Number
                
                'set bar number for force extraction
                'lBarNum = vWallResults(2, iWallNum)
                
                'extract forces/moments
                'Set rbForceData = rbForceServer.Value(lBarNum, lCaseNum, iBarPosition)
                ResultFx = RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(1))
                ResultFz = RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(3))
                ResultMy = RobResRowSet.CurrentRow.GetValue(RobResRowSet.ResultIds.Get(5))
                
                'initialise envelope variables
                If j = 1 Then
                    iMinFx = ResultFx
                    iMaxFx = ResultFx
                    iMinFz = ResultFz
                    iMaxFz = ResultFz
                    iMinMy = ResultMy
                    iMaxMy = ResultMy
                End If
                
                'compare forces/moments to determine envelope
                If ResultFx &amp;lt; iMinFx Then
                    iMinFx = ResultFx
                End If
                If ResultFx &amp;gt; iMaxFx Then
                    iMaxFx = ResultFx
                End If
                
                If ResultFz &amp;lt; iMinFz Then
                    iMinFz = ResultFz
                End If
                If ResultFz &amp;gt; iMaxFz Then
                    iMaxFz = ResultFz
                End If
                
                If ResultMy &amp;lt; iMinMy Then
                    iMinMy = ResultMy
                End If
                If ResultMy &amp;gt; iMaxMy Then
                    iMaxMy = ResultMy
                End If
                
                
                ok = RobResRowSet.MoveNext()
            Next j
            
            'record force/moment envelope to spreadsheet
            With rCase
                .Cells(6 + i, 1) = iMinFx / 1000
                .Cells(6 + i, 2) = iMaxFx / 1000
                .Cells(6 + i, 3) = iMinFz / 1000
                .Cells(6 + i, 4) = iMaxFz / 1000
                .Cells(6 + i, 5) = iMinMy / 1000
                .Cells(6 + i, 6) = iMaxMy / 1000
            End With
        Next i
        '.protect
    End With
    'update status window
    With frmStatusWindow
        .txtStatusWindow = .txtStatusWindow.Text &amp;amp; _
            "." &amp;amp; vbNewLine
    End With
End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2011 09:00:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3156946#M84323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-14T09:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: VB for Excel API not Extracting Peak Member Forces from Robot</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3160236#M84324</link>
      <description>&lt;P&gt;Some bug in your code:&lt;/P&gt;
&lt;P&gt;- wrong selection : bars mixed with cases&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RobResQueryParams.Selection.Set I_OT_BAR, SelCase&lt;/P&gt;
&lt;P&gt;- bar selection not set &lt;/P&gt;
&lt;P&gt;SelBar.&lt;EM&gt;FromText()&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;- wrong querry&lt;/P&gt;
&lt;P&gt;parameter&amp;nbsp; RobResQueryParams.SetParam I_RPT_BAR_DIV_COUNT, iNumpositions﻿ should be set before&lt;/P&gt;
&lt;P&gt;querry: Res = Robot.Project.Structure.Results.Query(RobResQueryParams, RobResRowSet)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correct your code and check.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 07:55:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3160236#M84324</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2011-09-16T07:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: VB for Excel API not Extracting Peak Member Forces from Robot</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3162146#M84325</link>
      <description>&lt;P&gt;Thanks Rafal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RoboExploiter&lt;/SPAN&gt;﻿ has enlisted me to help out, and with your hints the query is working now.&amp;nbsp; Just need to confirm it's doing the right thing.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2011 06:31:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3162146#M84325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-19T06:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: VB for Excel API not Extracting Peak Member Forces from Robot</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3206566#M84326</link>
      <description>&lt;DIV&gt;&lt;P&gt;Hi Guys, some feedback on your suggestions. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The query mechanism suggested was also unable to capture the peak member force, given 2 member forces at the same position. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't try the extreme server method, as i couldn't risk losing more time to do anymore abortive work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My final solution (albeit flawed) was to read the member forces 1mm above and 1mm below the position in question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Oct 2011 06:32:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/vb-for-excel-api-not-extracting-peak-member-forces-from-robot/m-p/3206566#M84326</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-27T06:32:13Z</dc:date>
    </item>
  </channel>
</rss>

