<?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: Copy Paste Excel Data as Pointer Data in Global Table in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14274048#M102137</link>
    <description>&lt;P&gt;Using it in the Post Import Code is one option, yes. Of course you need to change the table name and column numbers to match your table. With the "/" included do not put the "?" in front. Only do "Model.find(table[row][nameColumn])".&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2026 06:58:35 GMT</pubDate>
    <dc:creator>FelixMoehlmann</dc:creator>
    <dc:date>2026-09-22T06:58:35Z</dc:date>
    <item>
      <title>Copy Paste Excel Data as Pointer Data in Global Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14268628#M102101</link>
      <description>&lt;P&gt;I have around 300 rows in my global table which represent distinct parts. I want to assign Queue location to each part. I have 300 different Queue location&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When I copy paste the data global table considers it as a string. How to copy paste a pointer data ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2026 21:41:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14268628#M102101</guid>
      <dc:creator>kshitijdhake</dc:creator>
      <dc:date>2026-09-16T21:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Paste Excel Data as Pointer Data in Global Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14269330#M102111</link>
      <description>&lt;P&gt;You can't directly paste data as pointers. A pointer only exists in the context of the FlexSim model and can't be imported from another program. But you can use a simple for-loop to convert the string to a pointer by searching for the object by name. This could be done as part of the Post Import Code if you are using the Excel Import/Export tool, in the reset trigger of the global table or in the script console.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Table table = Table("GlobalTable1");
int nameColumn = 1;
int pointerColumn = 2;
for(int row = 1; row &amp;lt;= table.numRows; row++)
{
	table[row][pointerColumn] = Model.find("?" + table[row][nameColumn]);
}&lt;/LI-CODE&gt;
&lt;P&gt;If all the objects are direct subnodes of the model you don't need the "?" in Model.find(). It makes the search recursive, also checking subnodes/subfolders for nodes with the name. But it is a lot slower which might make a difference if the table or model is very large. As you can see I don't overwrite the name data, which might help to spot errors and fix them manually.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2026 12:11:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14269330#M102111</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2026-09-17T12:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Paste Excel Data as Pointer Data in Global Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14273810#M102135</link>
      <description>&lt;P&gt;Should I just copy paste this code in the post import code?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have 3 different columns which need to be converted to pointer&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am copy pasting the data in the following way&lt;BR /&gt;&lt;BR /&gt;For example : Queue name is "xyz"&lt;/P&gt;&lt;P&gt;Col1 has "/xyz"&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2026 23:47:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14273810#M102135</guid>
      <dc:creator>kshitijdhake</dc:creator>
      <dc:date>2026-09-21T23:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Paste Excel Data as Pointer Data in Global Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14274048#M102137</link>
      <description>&lt;P&gt;Using it in the Post Import Code is one option, yes. Of course you need to change the table name and column numbers to match your table. With the "/" included do not put the "?" in front. Only do "Model.find(table[row][nameColumn])".&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2026 06:58:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/copy-paste-excel-data-as-pointer-data-in-global-table/m-p/14274048#M102137</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2026-09-22T06:58:35Z</dc:date>
    </item>
  </channel>
</rss>

