My current add-ons rely on shapefiles for working with temporary files. For example, if I run a spatial analyst tool, I create a new shapefile to store the output geometry. ArcGIS stores all temporary files in a default GDB. Can someone point me in the direction of some .NET code or resources that would help me to structure my temporary file handling in the same way? It would be nice to have everything in one GDB that could be cleared, rather than in a folder containing many shapefiles and rasters.
[GIS] Working with temporary files in ArcObjects using Geodatabases
arcgis-10.0esri-geodatabase
Best Answer
You might try using a scratch workspace or an inmemoryworkspace.