mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-20 18:50:33 +05:00
NPAL18095: Pb. with dump python and mesh group by filter.
This commit is contained in:
parent
e913c3429b
commit
bee39a08f4
@ -2056,10 +2056,18 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
|
|||||||
ElementType aTypeOfElem = theCriteria[ i ].TypeOfElement;
|
ElementType aTypeOfElem = theCriteria[ i ].TypeOfElement;
|
||||||
long aPrecision = theCriteria[ i ].Precision;
|
long aPrecision = theCriteria[ i ].Precision;
|
||||||
|
|
||||||
TPythonDump() << "aCriterion = SMESH.Filter.Criterion(" << aCriterion << "," << aCompare
|
{
|
||||||
<< "," << aThreshold << ",'" << aThresholdStr << "',salome.ObjectToID("
|
TPythonDump pd;
|
||||||
<< aThresholdID << ")," << aUnary << "," << aBinary << "," << aTolerance
|
pd << "aCriterion = SMESH.Filter.Criterion(" << aCriterion << "," << aCompare
|
||||||
|
<< "," << aThreshold << ",'" << aThresholdStr;
|
||||||
|
if (strlen(aThresholdID) > 0)
|
||||||
|
pd << "',salome.ObjectToID(" << aThresholdID
|
||||||
|
<< ")," << aUnary << "," << aBinary << "," << aTolerance
|
||||||
<< "," << aTypeOfElem << "," << aPrecision << ")";
|
<< "," << aTypeOfElem << "," << aPrecision << ")";
|
||||||
|
else
|
||||||
|
pd << "',''," << aUnary << "," << aBinary << "," << aTolerance
|
||||||
|
<< "," << 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