mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
DumpPython Filter / Controls
This commit is contained in:
parent
36f8af7f1d
commit
48d2b1fd90
@ -488,7 +488,6 @@ TCollection_AsciiString SMESH_Gen_i::DumpPython_impl
|
||||
|
||||
aScript += "def RebuildData(theStudy):";
|
||||
aScript += "\n\tsmesh = salome.lcc.FindOrLoadComponent(\"FactoryServer\", \"SMESH\")";
|
||||
aScript += "\n\taFilterManager = smesh.CreateFilterManager()";
|
||||
if ( isPublished )
|
||||
aScript += "\n\tsmesh.SetCurrentStudy(theStudy)";
|
||||
else
|
||||
|
@ -1867,9 +1867,9 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
|
||||
long aPrecision = theCriteria[ i ].Precision;
|
||||
|
||||
TPythonDump()<<"aCriteria.append(SMESH.Filter.Criterion("<<
|
||||
aCriterion<<","<<aCompare<<","<<aThreshold<<","<<aUnary<<","<<aBinary<<","<<
|
||||
aTolerance<<",'"<<aThresholdStr<<"',"<<aTypeOfElem<<","<<aPrecision<<"))";
|
||||
|
||||
aCriterion<<","<<aCompare<<","<<aThreshold<<",'"<<aThresholdStr<<"',"<<
|
||||
aUnary<<","<<aBinary<<","<<aTolerance<<","<<aTypeOfElem<<","<<aPrecision<<"))";
|
||||
|
||||
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
|
||||
SMESH::NumericalFunctor_ptr aFunctor = SMESH::NumericalFunctor::_nil();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user