aScript += helper + "aFilterManager = " + aSMESHGen + ".CreateFilterManager()\n\t";
aScript += helper + "aMeasurements = " + aSMESHGen + ".CreateMeasurements()\n\t";
+ // This is not needed since entering a plug-in system to smesh.py
// import python files corresponding to plugins
- set<string> moduleNameSet;
- map<string, GenericHypothesisCreator_i*>::iterator hyp_creator = myHypCreatorMap.begin();
- for ( ; hyp_creator != myHypCreatorMap.end(); ++hyp_creator ) {
- string moduleName = hyp_creator->second->GetModuleName();
- bool newModule = moduleNameSet.insert( moduleName ).second;
- if ( newModule )
- aScript += helper + "\n\t" + "from salome." + (char*) moduleName.c_str() + " import " + (char*) moduleName.c_str() +"Builder";
- }
+ // set<string> moduleNameSet;
+ // map<string, GenericHypothesisCreator_i*>::iterator hyp_creator = myHypCreatorMap.begin();
+ // for ( ; hyp_creator != myHypCreatorMap.end(); ++hyp_creator ) {
+ // string moduleName = hyp_creator->second->GetModuleName();
+ // bool newModule = moduleNameSet.insert( moduleName ).second;
+ // if ( newModule )
+ // aScript += helper + "\n\t" + "from salome." + (char*) moduleName.c_str() + " import " + (char*) moduleName.c_str() +"Builder";
+ // }
// Dump trace of restored study
if (theSavedTrace.Length() > 0) {