- if ( !getMain()->isFromStudy() ) {
- if ( getMain()->addStudy() ) {
- getMain()->setAsFromStudy( true ); // put an "computation" item under "Supervisor" item in the Study tree
- getMain()->putDataStudy( getEngine(), STUDY_PORT_OUT ); // put another new item under some another corresponding item
- } // GEOM -> Compound_1
- }