Capella Model Rename

I was trying to rename my Capella project. I renamed the .afm and .aird files in my project inside Capella and I suddenly lost both of the files. I tried to create a new representation from the .melodymodeler file but could not retain my diagrams. Is there a way I can get my lost diagrams back?

Yes, I think with a few text replacement in the XMI files you should be able to retrieve everything.
I would suggest you to make copies, to open the files outside Capella in a text editor, search for the old names and replace them with the new ones. Do that in all 3 files: afm, aird, melodymodeller.
If your model is not confidential, I can probably give it a try.

Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.