Select to view content in your preferred language

Where is the location of temp files in C driver when solve a route

192
2
07-22-2024 12:24 AM
LeoDeng
Frequent Contributor

Hi All,

   When solve a route from Boston to Los Angeles, I found that the available space in C drive will be decreased by more than 5GB.  So what files are wrote on the C drive?

The ArcGIS Pro version is 3.3 and the %ARCTMPDIR% is set to D drive.

Thanks,
Leo

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

Nothing specific for Solve, but Build network uses

Build Network (Network Analyst)—ArcGIS Pro | Documentation

#First get the path to the system temp directory
    tempDir = os.environ.get("TEMP")
    if tempDir:
        shutil.copy2(os.path.join(tempDir,"BuildErrors.txt"),sys.path[0])

see the code example in the link


... sort of retired...
0 Kudos
LeoDeng
Frequent Contributor

My BuildErrors.txt is in %ARCTMPDIR%. The ArcGISProTemp<PID> folder.

0 Kudos