I've written a simple application which creates a document, loads a few BREP models and then adds a number of labels with TNaming_NamedShape attributes to the data framework.
In my application, I view the data framework with the OCAFbrowser and it is correct (see attached image). However when I try to save the document I get an access violation.
I'm using the AppStd_Application class and creating a document using the Standard file format "MDTV-Standard". Should this work?
If so, do the TopoDS_Shapes get written out as or well or do I have to make additional calls to have them saved?