To the best of my knowledge there is no tool to do so.
mcdx files are just zip-files. You may try to rename the file to *.zip and extract its contents maintaining the folder structure. You will see that the archive mainly consists of a couple of xml file, which are editable text files.
If a file got corrupted, chances are that the error is in \mathcad\worksheet.xml. You may try to fix the error by editing this file.
Generally fixing a corrupted file of real Mathcad (xmcd or mcd) is much more promising (and much less often necessary because of Mathcads autosaving feature) as the file is just a single xml file and Mathcad would tell you the line number in the file which causes the error.
We don't have this comfort in Prime and furthermore ever so often people had posted a corrupted Prime file here in the forum and after a quick check it turned out that the file consisted of nothing but null bytes. So there was no information which could be retrieved.
im sorry i didnt quite tell what the problem was, the problem was that i turned of my computer while not havng the file saved so it just closed the program without saving the file.
when i close for example word it will have saved the documents i havent saved myself, does mathcad have a simillar autosave feature?
im sorry i didnt quite tell what the problem was, the problem was that i turned of my computer while not havng the file saved so it just closed the program without saving the file.
when i close for example word it will have saved the documents i havent saved myself, does mathcad have a simillar autosave feature?
Real Mathcad (that is version 15 and below) has this autosave feature, but Prime unfortunately doesn't.
Yes, this website forum software is (claims to be) more knowledgeable about what a valid Prime file is, than the Prime software itself. I've run into that peculiar behaviour several times.
In such cases it may help to zip the file, and attach the zip file here.
It is a good habit when working with such software, to save the worksheets every day with a name different from that of the previous day, adding to the name, for example, the date of the day itself, or a progressive number, so that if you lose the last worksheet, you can always start over with the one of the previous day. Otherwise, in case of file loss, you have to do it all over again. Space occupied, even with this type of saving that lasts for months and months, is negligible compared to today's hard disk capacities. Furthermore, having a continuous backup system eliminates any loss problem. Mathcad 15's autosave is only useful when the file is not lost.
My problem with this is it does not get to the crux of the problem. If the software is having relative frequent crash problems the answer should not be that the user saves constantly with different file names. The answer should be in the software developer to work on minimizing bugs that cause crashes and to be responsive to those who are having the issue.
My problem with this is it does not get to the crux of the problem. If the software is having relative frequent crash problems the answer should not be that the user saves constantly with different file names. The answer should be in the software developer to work on minimizing bugs that cause crashes and to be responsive to those who are having the issue.
Fully agreed on, but -MFra- is not a developer but a user like you. And as a user you only have the choice to either take precautions like constant saving or use another software if it fits your needs and is more stable. As a paying customer you may open a ticket to PTC support, report your problem and suggest improvements. But I won't go into detail about how I assess the chances that this will have a significant effect.