<?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 Get specific nodes and case data in table for printoutcomposition in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12165033#M5432</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12755113"&gt;@stefanyC6JZ7&lt;/a&gt;&amp;nbsp;and i are currently working on a VBA script that generates images and screencaptures from tables to use in our reports. Thanks to these topics: &lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-command-vba-projection-capture-of-a-view/td-p/3188566/page/2" target="_blank" rel="noopener"&gt;topic_1&lt;/A&gt; , &lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-table-for-one-point-not-extreme/td-p/11308206" target="_blank" rel="noopener"&gt;topic_2&amp;nbsp;&lt;/A&gt; We already solved quite a few things.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now we want a table, with a specific case and nodes displayed.&lt;/P&gt;&lt;P&gt;these are the nodes (in case 15) i want to display:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="node to get displ.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252183i3947D581C17B0168/image-size/large?v=v2&amp;amp;px=999" role="button" title="node to get displ.JPG" alt="node to get displ.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now we get the full table see image&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="what we get now.JPG" style="width: 664px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252185iD45B74D1B3CF2280/image-size/large?v=v2&amp;amp;px=999" role="button" title="what we get now.JPG" alt="what we get now.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is our VBA code we have&lt;/P&gt;&lt;LI-CODE lang="general"&gt;' --------------------------------------------------------------
'
' Generation of the parametrized Silo.
'
Public RobApp As RobotApplication

 

Private Sub CommandButton1_Click()

 

'***Run Robot application

 

If RobApp Is Nothing Then
    Set RobApp = CreateObject("Robot.Application")
End If

 

RobApp.Visible = True
RobApp.Interactive = 1
RobApp.UserControl = True

 

'***Create an empty Shell project if it has not been created yet
If Not RobApp.Project.IsActive Or RobApp.Project.Type &amp;lt;&amp;gt; I_PT_SHELL Then
       RobApp.Project.New I_PT_SHELL
End If

'Sub kernel()

 

 

    'initialisation des valeurs
    Call init_value

    'permet de regénérer la vue
    Call CreeVueRM

    'sauvegarde le projet
    'robapp.Project.SaveAs newfilepath
    'robapp.Project.Close

End Sub

 

 

 

       
Public Sub CreeVueRM()

 

  ' définition d'une vue

    RobApp.Interactive = True
    RobApp.Visible = True
    RobApp.Window.Activate

    '------------------
    Dim mavueRobot As IRobotView3 ' this is important to set IRobotView3 if you want to make screen capture of this view
    Set mavueRobot = RobApp.Project.ViewMngr.GetView(1) ' it seems CreateView makes this strange affect, use Get view instead
    Dim SimpleCaseSel As IRobotSelection 'Select Simple cases
    Dim ManualCombSel As IRobotSelection  'Select Combination cases


    '-----------------------------
    mavueRobot.Selection.Get(I_OT_CASE).FromText ("1") ' selecting case for results display
    mavueRobot.Redraw (True)
    'mavueRobot.Projection = I_VP_3DXYZ
    mavueRobot.Projection = I_VP_XZ_3D
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    '--------------------------------------------


'---------------------CREATE TABLE
    mavueRobot.Selection.Get(I_OT_CASE).FromText ("15") ' selecting case for results display SLS
    RobApp.Project.ViewMngr.Refresh

 

    Dim Rtable As RobotTable
    Dim TScPar As RobotTableScreenCaptureParams
    Set TScPar = RobApp.CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)

    TScPar.Name = "Disp_15"  'Screenshot Name
    'mavueRobot.Selection.Get(I_OT_CASE).FromText ("15") ' selecting case for results display SLS
    'mavueRobot.Selection.Get(I_OT_BAR).FromText ("5")
    'mavueRobot.Selection.Get(I_OT_NODE).FromText ("801 to 829") ' selecting case for results display SLS

    mavueRobot.Redraw (True)
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh

 

    'TScPar.UpdateType = I_SCUT_CURRENT_VIEW
    'TScPar.Resolution = I_VSCR_4096

'-----------------

    mavueRobot.ParamsDisplay.Set I_VDA_STRUCTURE_SUPPORT_SYMBOLS, False 'shows the supports
    mavueRobot.ParamsDisplay.Set I_VDA_STRUCTURE_NODE_NUMBERS, False 'shows the node numbers
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_MY, False
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_FX, False
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_FZ, False
    Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_NODE_DISPLACEMENTS, I_TDT_DISPLACEMENTS)
    'Rtable.Select(IRobotSelectionType.I_ST_CASE, "1")
    ''mavueRobot.Selection.Get().FromText ("15")
    'Dim ScPar As RobotViewScreenCaptureParams
    'Set ScPar = RobApp.CmpntFactory.Create(I_CT_VIEW_SCREEN_CAPTURE_PARAMS)
    'Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_BARS, I_TDT_BAR) ' You can also GetTable
    'Rtable.AddColumn 1  -  modify tables if you want by adding or removing columns

    'mavueRobot.Visible = True
    'mavueRobot.Redraw (True)
    'RobApp.Project.ViewMngr.Refresh
    Rtable.MakeScreenCapture TScPar
    RobApp.Project.PrintEngine.SaveReportToOrganizer

 

    








 

 

    

 

 

End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At line 120 we did try to select the case but it won't, Does anyone have a solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my experience i know that&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/589195"&gt;@Rafal.Gaweda&lt;/a&gt;&amp;nbsp;is quite familiair with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2023 15:21:34 GMT</pubDate>
    <dc:creator>1234eddie</dc:creator>
    <dc:date>2023-08-11T15:21:34Z</dc:date>
    <item>
      <title>Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12165033#M5432</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12755113"&gt;@stefanyC6JZ7&lt;/a&gt;&amp;nbsp;and i are currently working on a VBA script that generates images and screencaptures from tables to use in our reports. Thanks to these topics: &lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-command-vba-projection-capture-of-a-view/td-p/3188566/page/2" target="_blank" rel="noopener"&gt;topic_1&lt;/A&gt; , &lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-table-for-one-point-not-extreme/td-p/11308206" target="_blank" rel="noopener"&gt;topic_2&amp;nbsp;&lt;/A&gt; We already solved quite a few things.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now we want a table, with a specific case and nodes displayed.&lt;/P&gt;&lt;P&gt;these are the nodes (in case 15) i want to display:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="node to get displ.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252183i3947D581C17B0168/image-size/large?v=v2&amp;amp;px=999" role="button" title="node to get displ.JPG" alt="node to get displ.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now we get the full table see image&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="what we get now.JPG" style="width: 664px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252185iD45B74D1B3CF2280/image-size/large?v=v2&amp;amp;px=999" role="button" title="what we get now.JPG" alt="what we get now.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is our VBA code we have&lt;/P&gt;&lt;LI-CODE lang="general"&gt;' --------------------------------------------------------------
'
' Generation of the parametrized Silo.
'
Public RobApp As RobotApplication

 

Private Sub CommandButton1_Click()

 

'***Run Robot application

 

If RobApp Is Nothing Then
    Set RobApp = CreateObject("Robot.Application")
End If

 

RobApp.Visible = True
RobApp.Interactive = 1
RobApp.UserControl = True

 

'***Create an empty Shell project if it has not been created yet
If Not RobApp.Project.IsActive Or RobApp.Project.Type &amp;lt;&amp;gt; I_PT_SHELL Then
       RobApp.Project.New I_PT_SHELL
End If

'Sub kernel()

 

 

    'initialisation des valeurs
    Call init_value

    'permet de regénérer la vue
    Call CreeVueRM

    'sauvegarde le projet
    'robapp.Project.SaveAs newfilepath
    'robapp.Project.Close

End Sub

 

 

 

       
Public Sub CreeVueRM()

 

  ' définition d'une vue

    RobApp.Interactive = True
    RobApp.Visible = True
    RobApp.Window.Activate

    '------------------
    Dim mavueRobot As IRobotView3 ' this is important to set IRobotView3 if you want to make screen capture of this view
    Set mavueRobot = RobApp.Project.ViewMngr.GetView(1) ' it seems CreateView makes this strange affect, use Get view instead
    Dim SimpleCaseSel As IRobotSelection 'Select Simple cases
    Dim ManualCombSel As IRobotSelection  'Select Combination cases


    '-----------------------------
    mavueRobot.Selection.Get(I_OT_CASE).FromText ("1") ' selecting case for results display
    mavueRobot.Redraw (True)
    'mavueRobot.Projection = I_VP_3DXYZ
    mavueRobot.Projection = I_VP_XZ_3D
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    '--------------------------------------------


'---------------------CREATE TABLE
    mavueRobot.Selection.Get(I_OT_CASE).FromText ("15") ' selecting case for results display SLS
    RobApp.Project.ViewMngr.Refresh

 

    Dim Rtable As RobotTable
    Dim TScPar As RobotTableScreenCaptureParams
    Set TScPar = RobApp.CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)

    TScPar.Name = "Disp_15"  'Screenshot Name
    'mavueRobot.Selection.Get(I_OT_CASE).FromText ("15") ' selecting case for results display SLS
    'mavueRobot.Selection.Get(I_OT_BAR).FromText ("5")
    'mavueRobot.Selection.Get(I_OT_NODE).FromText ("801 to 829") ' selecting case for results display SLS

    mavueRobot.Redraw (True)
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh

 

    'TScPar.UpdateType = I_SCUT_CURRENT_VIEW
    'TScPar.Resolution = I_VSCR_4096

'-----------------

    mavueRobot.ParamsDisplay.Set I_VDA_STRUCTURE_SUPPORT_SYMBOLS, False 'shows the supports
    mavueRobot.ParamsDisplay.Set I_VDA_STRUCTURE_NODE_NUMBERS, False 'shows the node numbers
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_MY, False
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_FX, False
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_FZ, False
    Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_NODE_DISPLACEMENTS, I_TDT_DISPLACEMENTS)
    'Rtable.Select(IRobotSelectionType.I_ST_CASE, "1")
    ''mavueRobot.Selection.Get().FromText ("15")
    'Dim ScPar As RobotViewScreenCaptureParams
    'Set ScPar = RobApp.CmpntFactory.Create(I_CT_VIEW_SCREEN_CAPTURE_PARAMS)
    'Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_BARS, I_TDT_BAR) ' You can also GetTable
    'Rtable.AddColumn 1  -  modify tables if you want by adding or removing columns

    'mavueRobot.Visible = True
    'mavueRobot.Redraw (True)
    'RobApp.Project.ViewMngr.Refresh
    Rtable.MakeScreenCapture TScPar
    RobApp.Project.PrintEngine.SaveReportToOrganizer

 

    








 

 

    

 

 

End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At line 120 we did try to select the case but it won't, Does anyone have a solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my experience i know that&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/589195"&gt;@Rafal.Gaweda&lt;/a&gt;&amp;nbsp;is quite familiair with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 15:21:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12165033#M5432</guid>
      <dc:creator>1234eddie</dc:creator>
      <dc:date>2023-08-11T15:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12165534#M5433</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3017553"&gt;@1234eddie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stephanekapetanovic_0-1691780588096.png" style="width: 418px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252299i4E401E338AE7586F/image-dimensions/418x46?v=v2" width="418" height="46" role="button" title="Stephanekapetanovic_0-1691780588096.png" alt="Stephanekapetanovic_0-1691780588096.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;remove parentheses from method (when it does not return a value).&lt;/P&gt;
&lt;P&gt;you will have to select the nodes also in the table&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2026 21:19:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12165534#M5433</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2026-03-08T21:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12168928#M5434</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. We changed the code as you suggested. And, now it selects the correct case, Case 15, as you can see in the figure below. However, the screencapture of the Table is not done, and I get an error, in the yellow line: "Set TScPar = RobApp.CmpntFactory.Create(I_CT_VIEW_SCREEN_CAPTURE_PARAMS)"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_0-1691996888785.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252857iBE7BA9B70FD40775/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_0-1691996888785.png" alt="stefanyC6JZ7_0-1691996888785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;'
' Generation of the parametrized Silo.
'
Public RobApp As RobotApplication

Private Sub CommandButton1_Click()

'***Run Robot application

If RobApp Is Nothing Then
    Set RobApp = CreateObject("Robot.Application")
End If

RobApp.Visible = True
RobApp.Interactive = 1
RobApp.UserControl = True

'***Create an empty Shell project if it has not been created yet
If Not RobApp.Project.IsActive Or RobApp.Project.Type &amp;lt;&amp;gt; I_PT_SHELL Then
       RobApp.Project.New I_PT_SHELL
End If
    
'Sub kernel()


    'initialisation des valeurs
    Call init_value
    
    'permet de regénérer la vue
    Call CreeVueRM
    
    'sauvegarde le projet
    'robapp.Project.SaveAs newfilepath
    'robapp.Project.Close
    
End Sub




       
Public Sub CreeVueRM()

  ' définition d'une vue
    
    RobApp.Interactive = True
    RobApp.Visible = True
    RobApp.Window.Activate
    
    '------------------
    Dim mavueRobot As IRobotView3 ' this is important to set IRobotView3 if you want to make screen capture of this view
    Set mavueRobot = RobApp.Project.ViewMngr.GetView(1) ' it seems CreateView makes this strange affect, use Get view instead
    Dim SimpleCaseSel As IRobotSelection 'Select Simple cases
    Dim ManualCombSel As IRobotSelection  'Select Combination cases
    
    
    '-----------------------------
    mavueRobot.Selection.Get(I_OT_CASE).FromText ("1") ' selecting case for results display
    mavueRobot.Redraw (True)
    'mavueRobot.Projection = I_VP_3DXYZ
    mavueRobot.Projection = I_VP_XZ_3D
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    '--------------------------------------------
    
    
'---------------------CREATE TABLE
    mavueRobot.Selection.Get(I_OT_CASE).FromText ("15") ' selecting case for results display SLS
    RobApp.Project.ViewMngr.Refresh

    Dim Rtable As RobotTable
    Dim TScPar As RobotTableScreenCaptureParams
    Set TScPar = RobApp.CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)
    
    TScPar.Name = "Disp_15"  'Screenshot Name
    'mavueRobot.Selection.Get(I_OT_CASE).FromText ("15") ' selecting case for results display SLS
    'mavueRobot.Selection.Get(I_OT_BAR).FromText ("5")
    'mavueRobot.Selection.Get(I_OT_NODE).FromText ("801 to 829") ' selecting case for results display SLS
   
    mavueRobot.Redraw (True)
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh

    'TScPar.UpdateType = I_SCUT_CURRENT_VIEW
    'TScPar.Resolution = I_VSCR_4096
    
'-----------------
    
    mavueRobot.ParamsDisplay.Set I_VDA_STRUCTURE_SUPPORT_SYMBOLS, False 'shows the supports
    mavueRobot.ParamsDisplay.Set I_VDA_STRUCTURE_NODE_NUMBERS, False 'shows the node numbers
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_MY, False
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_FX, False
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_FZ, False
    Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_NODE_DISPLACEMENTS, I_TDT_DISPLACEMENTS)
    Rtable.Select IRobotSelectionType.I_ST_CASE, "15"
    ''mavueRobot.Selection.Get().FromText ("15")
    'Dim ScPar As RobotViewScreenCaptureParams
    Set TScPar = RobApp.CmpntFactory.Create(I_CT_VIEW_SCREEN_CAPTURE_PARAMS)
    'Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_BARS, I_TDT_BAR) ' You can also GetTable
    'Rtable.AddColumn 1  -  modify tables if you want by adding or removing columns
        
    'mavueRobot.Visible = True
    'mavueRobot.Redraw (True)
    'RobApp.Project.ViewMngr.Refresh
    Rtable.MakeScreenCapture TScPar
    RobApp.Project.PrintEngine.SaveReportToOrganizer

    
    
    
    
    
    
    
    


    


End Sub&lt;/LI-CODE&gt;&lt;P&gt;Could you check this part of the code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 07:12:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12168928#M5434</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2023-08-14T07:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169153#M5435</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12755113"&gt;@stefanyC6JZ7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  Dim Rtable As RobotTable
  Dim TScPar As RobotTableScreenCaptureParams
   
  Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_NODE_DISPLACEMENTS, I_TDT_DISPLACEMENTS)
  Rtable.Select I_ST_CASE, "15"
  Set TScPar = RobApp.CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)
  TScPar.Name = "my_results"
  Rtable.MakeScreenCapture TScPar&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 09:20:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169153#M5435</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2023-08-14T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169175#M5436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply, and your help. The code now is working perfectly.&amp;nbsp; And I get the screenshot. Also, I was wondering if you know how can I set the Page Setup parameters. I am tryint to get them following the path of line 104 " RobApp.Project.PrintEngine.PageSetup.Variables.Active = True". Could you check it please, I am not sure if this is the right way to set the Variables.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;' --------------------------------------------------------------
'
' Generation of the parametrized Silo.
'
Public RobApp As RobotApplication

Private Sub CommandButton1_Click()

'***Run Robot application

If RobApp Is Nothing Then
    Set RobApp = CreateObject("Robot.Application")
End If

RobApp.Visible = True
RobApp.Interactive = 1
RobApp.UserControl = True

'***Create an empty Shell project if it has not been created yet
If Not RobApp.Project.IsActive Or RobApp.Project.Type &amp;lt;&amp;gt; I_PT_SHELL Then
       RobApp.Project.New I_PT_SHELL
End If
    
'Sub kernel()


    'initialisation des valeurs
    Call init_value
    
    'permet de regénérer la vue
    Call CreeVueRM
    
    'sauvegarde le projet
    'robapp.Project.SaveAs newfilepath
    'robapp.Project.Close
    
End Sub




       
Public Sub CreeVueRM()

  ' définition d'une vue
    
    RobApp.Interactive = True
    RobApp.Visible = True
    RobApp.Window.Activate
    
    '------------------
    Dim mavueRobot As IRobotView3 ' this is important to set IRobotView3 if you want to make screen capture of this view
    Set mavueRobot = RobApp.Project.ViewMngr.GetView(1) ' it seems CreateView makes this strange affect, use Get view instead
    Dim SimpleCaseSel As IRobotSelection 'Select Simple cases
    Dim ManualCombSel As IRobotSelection  'Select Combination cases
    
    
    '-----------------------------
    mavueRobot.Selection.Get(I_OT_CASE).FromText ("15") ' selecting case for results display
    mavueRobot.Redraw (True)
    'mavueRobot.Projection = I_VP_3DXYZ
    mavueRobot.Projection = I_VP_XZ_3D
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    '--------------------------------------------
    
    
'---------------------CREATE TABLE
    'mavueRobot.Selection.Get(I_OT_CASE).FromText ("15") ' selecting case for results display SLS
    RobApp.Project.ViewMngr.Refresh

    Dim Rtable As RobotTable
    Dim TScPar As RobotTableScreenCaptureParams
    Set TScPar = RobApp.CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)
    
    TScPar.Name = "Disp_15"  'Screenshot Name
    'TScPar.UpdateType = I_SCUT_CURRENT_VIEW
    'TScPar.Resolution = I_VSCR_4096
    
'-----------------
    
    mavueRobot.ParamsDisplay.Set I_VDA_STRUCTURE_SUPPORT_SYMBOLS, False 'shows the supports
    mavueRobot.ParamsDisplay.Set I_VDA_STRUCTURE_NODE_NUMBERS, False 'shows the node numbers
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_MY, False
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_FX, False
    mavueRobot.ParamsDiagram.Set I_VDRT_NTM_FZ, False
    Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_NODE_DISPLACEMENTS, I_TDT_DISPLACEMENTS)
    Rtable.Select IRobotSelectionType.I_ST_CASE, "15" 'Select the Specific Case
    Rtable.Select IRobotSelectionType.I_ST_NODE, "801 to 829" 'Selects the nodes of the last bar
        
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    Rtable.MakeScreenCapture TScPar
    RobApp.Project.PrintEngine.SaveReportToOrganizer
    
'----------------------HEADERS

    'RobApp.Project.PrintEngine.PageSetup.Header.Active = True
    'RobApp.Project.PrintEngine.PageSetup.Footer.Active = False
    'RobApp.Project.PrintEngine.PageSetup.Footer.Active = False
    'RobApp.Project.PrintEngine.PageSetup.MarginLeft.Set ("16")
    RobApp.Project.PrintEngine.PageSetup.Variables.Active = True
    'RobApp.Project IRobot.VariablePredefinedId.I_VPI_PROJECT_NAME, "Trials"
 
 
 
 
    'Dim Headers As IRobotVariablePredefinedId
    'Set Headers = RobApp.Project.Printouts.IRobotVariablePredefinedId (8)
    'Headers.I_VPI_USER_ADDRESS , "Trials"



End Sub


&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 09:34:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169175#M5436</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2023-08-14T09:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169215#M5437</link>
      <description>&lt;P&gt;&lt;STRONG&gt;RobotVariableMngr&lt;/STRONG&gt; has no Active property, could you be clearer on what you want to set by RobApp.Project.PrintEngine.PageSetup.Variables? For example you have a&amp;nbsp;&lt;STRONG&gt;SetPredefinedValue&lt;/STRONG&gt; method that can help you.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2026 21:20:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169215#M5437</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2026-03-08T21:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169252#M5438</link>
      <description>&lt;P&gt;hI&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to edit the Page Setup Parameters, For example, "PROJECT_ADDRESS1" as figure below shows. I want to use&amp;nbsp; VBA to assign the Values instead of doing manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_3-1692008405457.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252923i9CC41804AB202022/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_3-1692008405457.png" alt="stefanyC6JZ7_3-1692008405457.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was checking the API Documentation and I found that IRobotPageSetup has the Field Variables as the figure below shows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_1-1692008021703.png" style="width: 490px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252919i72EDADC42E0CCCCE/image-dimensions/490x551?v=v2" width="490" height="551" role="button" title="stefanyC6JZ7_1-1692008021703.png" alt="stefanyC6JZ7_1-1692008021703.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also,&amp;nbsp; I Found the&amp;nbsp;&amp;nbsp;IRobotVariablePredefinedId with some Parameters. As figure below shows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_2-1692008213532.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1252920i8394FCC2EDD02590/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_2-1692008213532.png" alt="stefanyC6JZ7_2-1692008213532.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure how to do it with VBA, Could you help me to check if the following code is correct to edit the variables, or what should I do?&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RobApp.Project.PrintEngine.PageSetup.Variables &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 10:24:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169252#M5438</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2023-08-14T10:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169269#M5439</link>
      <description>&lt;P&gt;as suggested you can use the SetPredefinedValue method.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  RobApp.Project.PrintEngine.PageSetup.Variables.SetPredefinedValue I_VPI_PROJECT_ADDRESS1, "MyProjectAdress"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 14 Aug 2023 10:37:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169269#M5439</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2023-08-14T10:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169494#M5440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer, now it works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 12:23:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12169494#M5440</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2023-08-14T12:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12172290#M5441</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to bother you again. Could you help me to solve a question about Printout composition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add the standard Tables (Data - Nodes, Data -Members, etc), from Printout composition, Standard Tab to my Printout list on the right as figure shows, using VBA instead of adding them manually.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_0-1692109640814.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253452i7F818A1E7E7F833C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_0-1692109640814.png" alt="stefanyC6JZ7_0-1692109640814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was checking the API Documentation, and I am not sure if it is correct to add them as follows:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Set Rtable1 = RobApp.Project.ViewMngr.GetTable(I_TT_NODES, I_TDT_DEFAULT)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;First, by using Get Table, please find the code below. Then, by adding&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I_TT_NODES, I_TDT_DEFAULT)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_1-1692109892989.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253454iC02964CFF753DB22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_1-1692109892989.png" alt="stefanyC6JZ7_1-1692109892989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim Rtable1 As RobotTable
    Dim TScPar1 As RobotTableScreenCaptureParams
    Set TScPar1 = RobApp.CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)
    
    TScPar1.Name = "Disp_Nodes Table"  'Screenshot Name
    TScPar1.UpdateType = IRobotViewScreenCaptureUpdateType.I_SCUT_CURRENT_VIEW
    'TScPar1.Resolution = IRobotViewScreenCaptureResolution.I_VSCR_4096
    Set Rtable1 = RobApp.Project.ViewMngr.GetTable(I_TT_NODES, I_TDT_DEFAULT)
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    Rtable.MakeScreenCapture TScPar1
    RobApp.Project.PrintEngine.SaveReportToOrganizer&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_2-1692110064441.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253458i3918F9CCCFD5FC3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_2-1692110064441.png" alt="stefanyC6JZ7_2-1692110064441.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_3-1692110098608.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253459iF45145052DAE61CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_3-1692110098608.png" alt="stefanyC6JZ7_3-1692110098608.png" /&gt;&lt;/span&gt;&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>Tue, 15 Aug 2023 14:40:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12172290#M5441</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2023-08-15T14:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12172555#M5442</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12755113"&gt;@stefanyC6JZ7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rather than using the get method, use the create method and close the window after use.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim Rtable As RobotTable
Dim TScPar As RobotTableScreenCaptureParams
With RobApp
  Set TScPar = .CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)
  Set Rtable = .Project.ViewMngr.CreateTable(I_TT_NODES, I_TDT_NODE)
End With
TScPar.Name = "myNodeTable"
Rtable.MakeScreenCapture TScPar
Rtable.Window.SendMessage &amp;amp;H10, 0, 0&lt;/LI-CODE&gt;&lt;P&gt;for the get method an example is below&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-macro-for-dumping-all-opened-tables-in-robot-with-all-tabs/m-p/5403391" target="_blank"&gt;https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-macro-for-dumping-all-opened-tables-in-robot-with-all-tabs/m-p/5403391&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 16:17:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12172555#M5442</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2023-08-15T16:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12174107#M5443</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. You are right, I can get the tables. However, I got one issue in the creation of the Support Table.&amp;nbsp;&lt;BR /&gt;When I take it manually I got the table shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_0-1692175785637.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253775i28C9A999A77B29E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_0-1692175785637.png" alt="stefanyC6JZ7_0-1692175785637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I try it with the following code, I get a different table.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;'--------------------Add Standard Data-Supports

    Dim Rtable5 As RobotTable
    Dim TScPar5 As RobotTableScreenCaptureParams 'To create a table
    Set TScPar5 = RobApp.CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)
    With RobApp
    Set TScPar5 = .CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)
    Set Rtable5 = .Project.ViewMngr.CreateTable(I_TT_SUPPORTS, I_TDT_SUPPORTS)
    End With
    TScPar5.Name = "Data - Supports"
    Rtable5.MakeScreenCapture TScPar5
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    RobApp.Project.PrintEngine.SaveReportToOrganizer&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_1-1692175929035.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253779i31CC02AC72AA44CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_1-1692175929035.png" alt="stefanyC6JZ7_1-1692175929035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am not sure what is wrong, Could you help me to check it?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Stefany&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 08:53:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12174107#M5443</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2023-08-16T08:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12174457#M5444</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12755113"&gt;@stefanyC6JZ7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the two main methods are those detailed above, if the presentation proves to be complicated to do by programming or that it only occurs in rare cases, it is probably possible manually by you. In your case, it may be more practical to use the Get method on a previously formatted table.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 11:47:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12174457#M5444</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2023-08-16T11:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12174806#M5445</link>
      <description>&lt;P&gt;Thank you for your response&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;. I checked again the API documentation and using the code below, the right table appears.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Set Rtable0 = RobApp.Project.ViewMngr.CreateTable(I_TT_SUPPORTS_LABEL, I_TDT_SUPPORTS)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Thank you for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stefany&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 13:57:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12174806#M5445</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2023-08-16T13:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12184805#M5446</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to bother you again. Could you help me to solve one issue when selecting specific nodes using VBA.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create this table, as figure below shows. The table shows the node displacement from Bar 5, containing nodes 801-829.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_1-1692607876343.png" style="width: 381px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1255706i4CF0BBF5614DBA91/image-dimensions/381x334?v=v2" width="381" height="334" role="button" title="stefanyC6JZ7_1-1692607876343.png" alt="stefanyC6JZ7_1-1692607876343.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_0-1692607677660.png" style="width: 409px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1255705iD1271215714F4824/image-dimensions/409x343?v=v2" width="409" height="343" role="button" title="stefanyC6JZ7_0-1692607677660.png" alt="stefanyC6JZ7_0-1692607677660.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently I am using the code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;' --------------------------------------------------------------
'
' Generation of the parametrized Silo.
'
Public RobApp As RobotApplication

Private Sub CommandButton1_Click()

'***Run Robot application

If RobApp Is Nothing Then
    Set RobApp = CreateObject("Robot.Application")
End If

RobApp.Visible = True
RobApp.Interactive = 1
RobApp.UserControl = True

'***Create an empty Shell project if it has not been created yet
If Not RobApp.Project.IsActive Or RobApp.Project.Type &amp;lt;&amp;gt; I_PT_SHELL Then
       RobApp.Project.New I_PT_SHELL
End If
 
 ''Sub kernel()

    'initialisation des valeurs
    Call init_value
    
    'permet de regénérer la vue
    Call CreeVueRM
    

End Sub



       
Public Sub CreeVueRM()

  ' définition d'une vue
    
    RobApp.Interactive = True
    RobApp.Visible = True
    RobApp.Window.Activate
    
    '------------------
    Dim mavueRobot As IRobotView3 ' this is important to set IRobotView3 if you want to make screen capture of this view
    Set mavueRobot = RobApp.Project.ViewMngr.GetView(1) ' it seems CreateView makes this strange affect, use Get view instead
  
    '-----------------------------
    mavueRobot.Redraw (True)
    mavueRobot.Projection = I_VP_XZ_3D
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    '--------------------------------------------

'---------------------CREATE TABLE
    ''RobApp.Project.ViewMngr.Refresh
    Dim Rtable As RobotTable
    Dim TScPar As RobotTableScreenCaptureParams
    Set TScPar = RobApp.CmpntFactory.Create(I_CT_TABLE_SCREEN_CAPTURE_PARAMS)
    
    TScPar.Name = "Disp_15"  'Screenshot Name

    '-------------------------------SELECT NODES

    
    Dim NodeSel As RobotSelection  'Node selection
    Set NodeSel = RobApp.Project.Structure.Selections.Get(I_OT_NODE) 'Selects all nodes
    NodeSel.FromText "all"
    
    Dim Node As RobotObjObject
    Dim NodeCol As RobotNodeCollection
    Set NodeCol = RobApp.Project.Structure.Nodes.GetMany(NodeSel)
    Dim NodesSelection As String
    
    Row = 2
    For ii = 1 To NodeCol.Count

        Cells(Row, 9) = "Node"
        Set RNode = NodeCol.Get(ii)
        Cells(Row, 10) = RNode.Number
        Row = Row + 1
        
    Next ii
    
    Dim i As Integer
    Dim firstRow As Integer
    Dim columnNumber As Integer
    Dim Max As Integer
    Z = 801
    
    firstRow = 2
    columnNumber = 10
    

    Set Sheet = ActiveSheet

    If Sheet.UsedRange.Rows.Count &amp;lt;= 1 Then Max = NaN Else Max = Sheet.Cells(firstRow, columnNumber)

    For i = firstRow + 1 To Sheet.UsedRange.Rows.Count
        If Sheet.Cells(i, columnNumber) &amp;gt; Max Then Max = Sheet.Cells(i, columnNumber)
    Next
        Cells(1, 9) = "Node_Max"
        Cells(1, 10) = Max
        V = Max
        Cells(1, 11) = "Node_Start"
        Cells(1, 12) = Z
    
    
    
    Set Rtable = RobApp.Project.ViewMngr.CreateTable(I_TT_NODE_DISPLACEMENTS, I_TDT_DISPLACEMENTS)
    Rtable.Select IRobotSelectionType.I_ST_CASE, 15 'Select the Specific Case
    Rtable.Select IRobotSelectionType.I_ST_NODE, "801to829"  'Selects the nodes of the last bar   
    
    mavueRobot.Visible = True
    mavueRobot.Redraw (True)
    RobApp.Project.ViewMngr.Refresh
    Rtable.MakeScreenCapture TScPar
    RobApp.Project.PrintEngine.SaveReportToOrganizer
End Sub








&lt;/LI-CODE&gt;&lt;P&gt;When creating the table, the code selects from node 801 to node 829.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Rtable.Select IRobotSelectionType.I_ST_NODE, "801to829"  'Selects the nodes of the last bar&lt;/LI-CODE&gt;&lt;P&gt;However, the maximum node number("829") will change depending on the project. Thats why the approach is to get the maximum node number from all the nodes. And then create the table from node 801 - Node_max number.&lt;/P&gt;&lt;P&gt;With the current code, I get succesfully the Node_Max number ("829") and export to Excel as fiure below shows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_2-1692608279170.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1255710i85DB6B02EA0901C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_2-1692608279170.png" alt="stefanyC6JZ7_2-1692608279170.png" /&gt;&lt;/span&gt;&lt;BR /&gt;And If I change the part of the code as follows:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Rtable.Select IRobotSelectionType.I_ST_NODE, V  'Selects the nodes of the last bar
    &lt;/LI-CODE&gt;&lt;P&gt;I got the following table, witht the right case and the max node mnumber:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanyC6JZ7_3-1692608614830.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1255711i0F90FC394A0954CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanyC6JZ7_3-1692608614830.png" alt="stefanyC6JZ7_3-1692608614830.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I&amp;nbsp;&lt;SPAN&gt;am not sure how to create the table from node 801to829 using V instead of 829.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Rtable.Select IRobotSelectionType.I_ST_NODE, "801toV"  'Selects the nodes of the last bar
    &lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Could you help me to chekc if this is the correct way to get the table?&lt;BR /&gt;&lt;BR /&gt;Many thanks&amp;nbsp; in advance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Stefany&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 09:11:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12184805#M5446</guid>
      <dc:creator>stefanyC6JZ7</dc:creator>
      <dc:date>2023-08-21T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get specific nodes and case data in table for printoutcomposition</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12184897#M5447</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12755113"&gt;@stefanyC6JZ7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code below will give you the first and last number as well as the overall selection of nodes in your project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;With RobApp.Project.Structure.Selections.Create(I_OT_NODE)
  .FromText "all": First = .Get(1): Last = .Get(.Count): TxtFirstToLastNode = .ToText
End With&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;used like that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Rtable.Select IRobotSelectionType.I_ST_NODE, TxtFirstToLastNode&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not knowing your project, note that you can also write:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;TxtFirstToLastNode = "801to" &amp;amp; Last&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 10:03:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/get-specific-nodes-and-case-data-in-table-for/m-p/12184897#M5447</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2023-08-21T10:03:34Z</dc:date>
    </item>
  </channel>
</rss>

