Handle(TOcaf_Application) OcafApp= ((COcafApp*)AfxGetApp())->GetApp(); \n\
\n\
// Creating the new document \n\
- OcafApp->NewDocument(\"Ocaf-Sample\", myOcafDoc); \n\
+ OcafApp->NewDocument(\"MDTV-Standard\", myOcafDoc); \n\
\n\
// Creation of a new TPrsStd_AISViewer connected to the current V3d_Viewer\n\
TPrsStd_AISViewer::New(myOcafDoc->Main(),myViewer); \n\
else
{
// The document must be saved in standard format
- myOcafDoc->ChangeStorageFormat("Ocaf-Sample");
+ myOcafDoc->ChangeStorageFormat("MDTV-Standard");
}
try