mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +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()
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1868,7 +1868,7 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
|
||||
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user