I'm using Extensible storage to store project wide data on the ProjectInfo element. All is OK on Revit 2013, but on Revit 2012, when I save the project and try to reopen it, I've got a message saying that element 558 (ProjectInfo) is corrupted and then Revit crash.
The code is like this:
using (var entity = new Entity(Schema)) using (var tr = new Transaction(document)) { if (tr.Start("Save settings") == TransactionStatus.Started) { entity.Set(...,...); Document.ProjectInformation.SetEntity(entity); tr.Commit(); } }
Schema is a property where the Schema is build.
Solved! Go to Solution.
Solved by FRFR1426. Go to Solution.
When I close, I've sometimes a runtime error: R6025 - pure virtual function call
Just installed SP1 & SP2. Seems to resolve the issue.