DumpPython Filter / Controls

This commit is contained in:
apo 2005-03-31 10:24:06 +00:00
parent db4a965718
commit c243d4eb63
2 changed files with 1 additions and 1 deletions

View File

@ -488,6 +488,7 @@ 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

View File

@ -1554,7 +1554,6 @@ SMESH::FilterManager_ptr SMESH_Gen_i::CreateFilterManager()
{
SMESH::FilterManager_i* aFilter = new SMESH::FilterManager_i();
SMESH::FilterManager_var anObj = aFilter->_this();
TPythonDump()<<"aFilterManager = smesh.CreateFilterManager()";
return anObj._retn();
}