<?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: In memory workspace in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787034#M1304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Here is a way you can get a path in python by creating temporary files rather then in memory.&amp;nbsp; This would be only part of the puzzle, but perhaps this will help you figure out how to achieve what you want.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.python.org/2/library/tempfile.html" title="https://docs.python.org/2/library/tempfile.html" rel="nofollow noopener noreferrer" target="_blank"&gt;10.6. tempfile — Generate temporary files and directories — Python 2.7.18 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example on how I have used it to create and open an exported pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# create temporary pdf name variable&lt;/SPAN&gt;
tmpdir &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; tempfile&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mkdtemp&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
pfilename &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; tempfile&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NamedTemporaryFile&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;prefix&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Property_Map_"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
pdfname &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pfilename&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;".pdf"&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Location of the tempoary pdf file&lt;/SPAN&gt;
outputpdf &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tmpdir&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; pdfname&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# export layout to a pdf&lt;/SPAN&gt;
layout&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;exportToPDF&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outputpdf&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Open the excel file&lt;/SPAN&gt;
Popen&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"start acrobat %s"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;%&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outputpdf&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; shell&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:59:02 GMT</pubDate>
    <dc:creator>MatthewDriscoll</dc:creator>
    <dc:date>2021-12-12T08:59:02Z</dc:date>
    <item>
      <title>In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787033#M1303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not find any class or example for in memory workspace.&lt;/P&gt;&lt;P&gt;From the other hand there are many arcpy examples with in memory.&lt;/P&gt;&lt;P&gt;So (for example) if I run a GP tool from the SDK and let arcpy create a feature class in memory how do I access it from my code after it was created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 09:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787033#M1303</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2020-07-27T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787034#M1304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Here is a way you can get a path in python by creating temporary files rather then in memory.&amp;nbsp; This would be only part of the puzzle, but perhaps this will help you figure out how to achieve what you want.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.python.org/2/library/tempfile.html" title="https://docs.python.org/2/library/tempfile.html" rel="nofollow noopener noreferrer" target="_blank"&gt;10.6. tempfile — Generate temporary files and directories — Python 2.7.18 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example on how I have used it to create and open an exported pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# create temporary pdf name variable&lt;/SPAN&gt;
tmpdir &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; tempfile&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mkdtemp&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
pfilename &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; tempfile&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NamedTemporaryFile&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;prefix&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Property_Map_"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
pdfname &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pfilename&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;".pdf"&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Location of the tempoary pdf file&lt;/SPAN&gt;
outputpdf &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tmpdir&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; pdfname&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# export layout to a pdf&lt;/SPAN&gt;
layout&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;exportToPDF&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outputpdf&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Open the excel file&lt;/SPAN&gt;
Popen&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"start acrobat %s"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;%&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outputpdf&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; shell&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787034#M1304</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2021-12-12T08:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787035#M1305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no problem to create FGDB on disk and access it from the SDK&lt;/P&gt;&lt;P&gt;We would like to use in memory workspace to get better performance for temporary layers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 14:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787035#M1305</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2020-07-27T14:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787036#M1306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of the full path to GDB (such as: "C:\myfolder\mygdb.gdb") just use "in_memory" or just "memory". Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Syntax in Python:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;outfc = r"in_memory\\out_fc"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Syntax in C# will be&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var outfc =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"in_memory\\out_fc"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can just use "memory\mydata".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will add a snippet and sample to Geoprocessing SDK section:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk" title="https://github.com/Esri/arcgis-pro-sdk"&gt;GitHub - Esri/arcgis-pro-sdk: ArcGIS Pro SDK for Microsoft .NET is the new .NET SDK for the ArcGIS Pro Application.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;This is a new Pro format built and supported in ArcGIS Pro 2.x:&lt;/DIV&gt;&lt;DIV&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/the-in-memory-workspace.htm" title="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/the-in-memory-workspace.htm"&gt;Write geoprocessing output to memory—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Note: Unlike the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="" style="background-color: #ffffff; font-size: 17px;"&gt;memory&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;workspace,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="" style="background-color: #ffffff; font-size: 17px;"&gt;in_memory&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;workspace does not support subtypes or domains.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 23:47:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787036#M1306</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2020-07-27T23:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787037#M1307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nobbir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the great answer.&lt;/P&gt;&lt;P&gt;I understand that if we work in Pro (2.4) we should use memory/out_fc in Python and&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;var outfc =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;"memory\\out_fc" in the SDK to get the best option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2020 04:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787037#M1307</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2020-07-28T04:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787038#M1308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nabbir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just tested it.&lt;/P&gt;&lt;P&gt;Creating a feature class in memory with the GP command works.&lt;/P&gt;&lt;P&gt;The line:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;Geodatabase&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;FileGeodatabaseConnectionPath&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;Uri&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #032f62;"&gt;@"memory"&lt;/SPAN&gt;)))
fail with wrong Uri.
What are we missing?

Thanks&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787038#M1308</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2021-12-12T08:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787039#M1309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the help text, it requires a valid path to a file geodatabase folder that ends with .gdb extension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/501526_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2020 16:10:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787039#M1309</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2020-07-28T16:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787040#M1310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So we return to the original question. How do I create a in memory feature class and use it in the SDK??&lt;/P&gt;&lt;P&gt;This is basic functionality in ArcObjects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 04:00:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787040#M1310</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2020-07-29T04:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787041#M1311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have communicated with our Geodatabase team - they are following this thread. As of now, there is no API yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now, for Geoprocessing functionalities, we have "in_memory" and "memory" workspace - what it does is, the string is read as is but then internally interpret and convert it to a geodatabase which lives in memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 15:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787041#M1311</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2020-07-29T15:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787042#M1312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been working with &lt;A href="https://community.esri.com/migrated-users/10113"&gt;Nobbir Ahmed&lt;/A&gt;‌ on your question. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's no&amp;nbsp;&lt;EM&gt;direct&lt;/EM&gt; way to work with in-memory feature classes using the Pro SDK, but there is an&amp;nbsp;&lt;EM&gt;indirect&amp;nbsp;&lt;/EM&gt;way. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run your&amp;nbsp;geoprocessing tool with the Pro SDK, set it up to &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing#adding-results-to-map-and-project-history"&gt;output your results to a map&lt;/A&gt;. &amp;nbsp;If you do that, a FeatureLayer is added to the map. &amp;nbsp;You can then call FeatureLayer.GetFeatureClass() to get a FeatureClass object. &amp;nbsp;You should be able to treat that as a regular feature class. &amp;nbsp;(Note that If you call FeatureClass.GetDatastore() you get back an object with type UnknownDatastore, which isn't especially useful).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 17:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787042#M1312</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2020-07-30T17:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1050983#M6507</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1389"&gt;@ModyBuchbinder&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I just wanted to let you know that you will be able to directly create memory&amp;nbsp;geodatabases and tables within them using the Pro SDK at 2.8.&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 23:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1050983#M6507</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-04-23T23:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1102986#M7194</link>
      <description>&lt;P&gt;Where can I find example for this in 2.8?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 08:34:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1102986#M7194</guid>
      <dc:creator>Zoggo</dc:creator>
      <dc:date>2021-09-29T08:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1103223#M7198</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/485664"&gt;@Zoggo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#creating-a-memory-geodatabase" target="_self"&gt;Here is a snippet showing how to create a memory&amp;nbsp;geodatabase.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once you have created the geodatabase, &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#creating-a-feature-class" target="_self"&gt;here is a snippet showing how to create a feature class&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 18:58:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1103223#M7198</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-09-29T18:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115654#M7335</link>
      <description>&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;I am trying to create an in-memory feature class and then add it to my map.&amp;nbsp; I believe I have the creation of the feature class working from the snippets that you have provided, but I can't seem to get a layer created.&amp;nbsp; My code is&amp;nbsp;&lt;/P&gt;&lt;P&gt;var featLayerCreateParams = new FeatureLayerCreationParams(new Uri(@"\\memory\SourcePackageFootprint"));&lt;BR /&gt;featLayerCreateParams.Name = "Source Package Footprint";&lt;BR /&gt;Layer layer = LayerFactory.Instance.CreateLayer&amp;lt;FeatureLayer&amp;gt;(featLayerCreateParams, MapView.Active.Map, LayerPosition.AddToTop);&lt;/P&gt;&lt;P&gt;However, this does not work.&amp;nbsp; I get an error of "failed to add data, unsupported data type \\memory\SourcePackageFootprint".&amp;nbsp; What am I doing wrong?&lt;/P&gt;&lt;P&gt;P.S. Thank you for the snippets.&amp;nbsp; They were quite helpful in building the in memory feature class.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 15:02:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115654#M7335</guid>
      <dc:creator>DaveLewis73</dc:creator>
      <dc:date>2021-11-10T15:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115684#M7336</link>
      <description>&lt;P&gt;I'm not sure why the URI isn't accepted, but &lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic15075.html" target="_self"&gt;have you tried just creating the layer from the feature class itself&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 16:19:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115684#M7336</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-11-10T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115714#M7337</link>
      <description>&lt;P&gt;I followed the "Creating a Feature Class" snippet, but I don't see where an actual feature class object is created.&amp;nbsp; I just get the success from calling schemaBuilder.Build().&amp;nbsp; That is how I assumed that the code was working.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 16:59:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115714#M7337</guid>
      <dc:creator>DaveLewis73</dc:creator>
      <dc:date>2021-11-10T16:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115798#M7338</link>
      <description>&lt;P&gt;I'm sorry, I forgot that step. After calling schemaBuilder.Build() you can get a FeatureClass pointer using Geodatabase.OpenDataset&amp;lt;FeatureClass&amp;gt;("SourcePackageFootprint").&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 19:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115798#M7338</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-11-10T19:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115804#M7339</link>
      <description>&lt;P&gt;That seems to have worked.&amp;nbsp; Thank you.&amp;nbsp; The only question that I have now is regarding the asynchronous aspect of this code.&amp;nbsp; Should I bracket the entire subroutine into QueuedTask.Run() or just the CreateFeatureLayer portion?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 19:54:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115804#M7339</guid>
      <dc:creator>DaveLewis73</dc:creator>
      <dc:date>2021-11-10T19:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115816#M7341</link>
      <description>&lt;P&gt;The calls to the SchemaBuilder and the OpenDataset call should also be inside QueuedTask.Run()&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 20:16:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1115816#M7341</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-11-10T20:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: In memory workspace</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1145238#M7802</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm using ArcPro 2.9.0 and am trying to use the "memory\mydata" format to join 2 layers in ModelBuilder. The documentation clearly states that I should not add a file extension. However, when I enter "memory\JoinParcelstoTable" to the Output Dataset box and click away ".shp" is automatically added to the end of my in memory folder path. When I try to run my model it fails on this tool. Any insights would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahHartholt_3-1645117835957.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34256iEDEB289298F6E84F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahHartholt_3-1645117835957.png" alt="SarahHartholt_3-1645117835957.png" /&gt;&lt;/span&gt;&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="SarahHartholt_2-1645117653353.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34254iDCF1A78DFD466304/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahHartholt_2-1645117653353.png" alt="SarahHartholt_2-1645117653353.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 17:15:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/1145238#M7802</guid>
      <dc:creator>SarahHartholt</dc:creator>
      <dc:date>2022-02-17T17:15:40Z</dc:date>
    </item>
  </channel>
</rss>

