1. Function name - create EMPTY study,
2. Study, which sets in inserted data models has no root and for its not call function createDocument().
SUIT_Study* study = activeStudy();
STD_Application::createEmptyStudy();
-
- SUIT_Study* newStudy = activeStudy();
- if ( study != newStudy )
- {
- CAM_Study* camStudy = dynamic_cast<CAM_Study*>( newStudy );
- for ( ModuleListIterator it( myModules ); it.current(); ++it )
- camStudy->insertDataModel( it.current()->dataModel() );
- }
}