SMESH::FilterManager_var GetFilterManager()
{
- static SMESH::FilterManager_var aFilterManager;
- if(CORBA::is_nil(aFilterManager)){
- aFilterManager = GetSMESHGen()->CreateFilterManager();
- }
- return aFilterManager;
+ return GetSMESHGen()->CreateFilterManager(); // DumpPython
+ //static SMESH::FilterManager_var aFilterManager;
+ //if(CORBA::is_nil(aFilterManager)){
+ // aFilterManager = GetSMESHGen()->CreateFilterManager();
+ //}
+ //return aFilterManager;
}
}
TPythonDump()<<this<<".SetCriteria(SMESH.Filter.Criteria("<<
aCriterion<<","<<aCompare<<","<<aThreshold<<","<<aUnary<<","<<aBinary<<","<<
- aTolerance<<",'"<<aThresholdStr<<"',"<<aTypeOfElem<<","<<aPrecision<<")";
+ aTolerance<<",'"<<aThresholdStr<<"',"<<aTypeOfElem<<","<<aPrecision<<"))";
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
SMESH::NumericalFunctor_ptr aFunctor = SMESH::NumericalFunctor::_nil();