<?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: Loading a table into memory from file gdb in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-a-table-into-memory-from-file-gdb/m-p/1557880#M12286</link>
    <description>&lt;P&gt;First have to create the table:&lt;/P&gt;&lt;P&gt;MemoryConnectionProperties memoryConnectionProperties2 = new MemoryConnectionProperties();&lt;/P&gt;&lt;P&gt;var memoryGdb = SchemaBuilder.CreateGeodatabase(memoryConnectionProperties2);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;var parameters = Geoprocessing.MakeValueArray("memory", outTabName, fileGdbPath + "\\" + outTabName);&lt;/P&gt;&lt;P&gt;await Geoprocessing.ExecuteToolAsync("CreateTable_management", parameters);&lt;BR /&gt;&lt;BR /&gt;parameters = Geoprocessing.MakeValueArray(fileGdbPath + "\\" + outTabName, "memory\\" + outTabName, "NO_TEST");&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;var environments = Geoprocessing.MakeEnvironmentArray(overwriteoutput: true);&lt;/P&gt;&lt;P&gt;var result = await Geoprocessing.ExecuteToolAsync("Append_management", parameters, environments, cancellationTokenSource?.Token, null, GPExecuteToolFlags.GPThread);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 06:15:55 GMT</pubDate>
    <dc:creator>Gurunara</dc:creator>
    <dc:date>2024-11-13T06:15:55Z</dc:date>
    <item>
      <title>Loading a table into memory from file gdb</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-a-table-into-memory-from-file-gdb/m-p/1556765#M12270</link>
      <description>&lt;P&gt;Code snippet for loading a table from file gdb into memory?&lt;BR /&gt;&lt;BR /&gt;Tried several, but didn't seem to work:&lt;BR /&gt;&lt;BR /&gt;MemoryConnectionProperties memoryConnectionProperties2 = new MemoryConnectionProperties();&lt;BR /&gt;&lt;BR /&gt;Geodatabase memoryGdb = SchemaBuilder.CreateGeodatabase(memoryConnectionProperties2);&lt;BR /&gt;&lt;BR /&gt;var parameters = Geoprocessing.MakeValueArray(fileGdbPath + "\\" + outTabName, @"memory\\" + outTabName, "NO_TEST");&lt;BR /&gt;&lt;BR /&gt;var environments = Geoprocessing.MakeEnvironmentArray(overwriteoutput: true);&lt;BR /&gt;&lt;BR /&gt;var result = await Geoprocessing.ExecuteToolAsync("TableToInMemoryTable", parameters, environments, cancellationTokenSource?.Token, null, GPExecuteToolFlags.GPThread);&lt;BR /&gt;&lt;BR /&gt;also tried:&lt;BR /&gt;&lt;BR /&gt;var result = await Geoprocessing.ExecuteToolAsync("Copy_management", parameters, environments, cancellationTokenSource?.Token, null, GPExecuteToolFlags.GPThread);&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;var result = await Geoprocessing.ExecuteToolAsync("Append_management", parameters, environments, cancellationTokenSource?.Token, null, GPExecuteToolFlags.GPThread);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;these all would result in result.IsFailed == true...&lt;BR /&gt;&lt;BR /&gt;btw, this is for a table, not feature class...&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 13:12:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-a-table-into-memory-from-file-gdb/m-p/1556765#M12270</guid>
      <dc:creator>Gurunara</dc:creator>
      <dc:date>2024-11-08T13:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a table into memory from file gdb</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-a-table-into-memory-from-file-gdb/m-p/1557880#M12286</link>
      <description>&lt;P&gt;First have to create the table:&lt;/P&gt;&lt;P&gt;MemoryConnectionProperties memoryConnectionProperties2 = new MemoryConnectionProperties();&lt;/P&gt;&lt;P&gt;var memoryGdb = SchemaBuilder.CreateGeodatabase(memoryConnectionProperties2);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;var parameters = Geoprocessing.MakeValueArray("memory", outTabName, fileGdbPath + "\\" + outTabName);&lt;/P&gt;&lt;P&gt;await Geoprocessing.ExecuteToolAsync("CreateTable_management", parameters);&lt;BR /&gt;&lt;BR /&gt;parameters = Geoprocessing.MakeValueArray(fileGdbPath + "\\" + outTabName, "memory\\" + outTabName, "NO_TEST");&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;var environments = Geoprocessing.MakeEnvironmentArray(overwriteoutput: true);&lt;/P&gt;&lt;P&gt;var result = await Geoprocessing.ExecuteToolAsync("Append_management", parameters, environments, cancellationTokenSource?.Token, null, GPExecuteToolFlags.GPThread);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 06:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-a-table-into-memory-from-file-gdb/m-p/1557880#M12286</guid>
      <dc:creator>Gurunara</dc:creator>
      <dc:date>2024-11-13T06:15:55Z</dc:date>
    </item>
  </channel>
</rss>

