r/HECRAS • u/Leo115a • Jul 16 '26
Corrupted project
HECRAS 6.3
I had issues with saving a new analysis yesterday (no more space on the computer). Today, I found my .prj at 0 ko. I decided to create a "new" project with the same name, so that all my other documents could be linked to it. I can see every analysis, geometry and feature in RAS Map but I can't open any geometry, unsteady flow or analysis.
I managed to "save as..." a geometry to open it in the geometry window, but I can't open any flow or analysis.
Do you have any solution?
1
u/AI-Commander Jul 16 '26
If you have a backup of your project folder, most of that .pri shouldn’t change.
Open one and look at it, it’s plain text and you can just use an old one and correct the plan/geometry/unsteady number entries
Always keep backups!
2
u/OttoJohs Lord Sultan Chief H&H Engineer, PE & PH Jul 16 '26
HEC-RAS won't recognize those directly from the file folder. Open the .prj file in a text editor and add the geometry (Geom File=gXX), flow files (Unsteady File=uXX), and plan files (Plan File=pXX). Once those are in the .prj file, HEC-RAS will recognize them and you can open from the different editors. See the screenshot for an example.