mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
PythonDump for SMESH Controls / Filter
This commit is contained in:
parent
3072473087
commit
64966917fb
@ -27,11 +27,12 @@ namespace SMESH
|
|||||||
|
|
||||||
SMESH::FilterManager_var GetFilterManager()
|
SMESH::FilterManager_var GetFilterManager()
|
||||||
{
|
{
|
||||||
static SMESH::FilterManager_var aFilterManager;
|
return GetSMESHGen()->CreateFilterManager(); // DumpPython
|
||||||
if(CORBA::is_nil(aFilterManager)){
|
//static SMESH::FilterManager_var aFilterManager;
|
||||||
aFilterManager = GetSMESHGen()->CreateFilterManager();
|
//if(CORBA::is_nil(aFilterManager)){
|
||||||
}
|
// aFilterManager = GetSMESHGen()->CreateFilterManager();
|
||||||
return aFilterManager;
|
//}
|
||||||
|
//return aFilterManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1868,7 +1868,7 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
|
|||||||
|
|
||||||
TPythonDump()<<this<<".SetCriteria(SMESH.Filter.Criteria("<<
|
TPythonDump()<<this<<".SetCriteria(SMESH.Filter.Criteria("<<
|
||||||
aCriterion<<","<<aCompare<<","<<aThreshold<<","<<aUnary<<","<<aBinary<<","<<
|
aCriterion<<","<<aCompare<<","<<aThreshold<<","<<aUnary<<","<<aBinary<<","<<
|
||||||
aTolerance<<",'"<<aThresholdStr<<"',"<<aTypeOfElem<<","<<aPrecision<<")";
|
aTolerance<<",'"<<aThresholdStr<<"',"<<aTypeOfElem<<","<<aPrecision<<"))";
|
||||||
|
|
||||||
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
|
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
|
||||||
SMESH::NumericalFunctor_ptr aFunctor = SMESH::NumericalFunctor::_nil();
|
SMESH::NumericalFunctor_ptr aFunctor = SMESH::NumericalFunctor::_nil();
|
||||||
|
Loading…
Reference in New Issue
Block a user