mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
DumpPython Filter / Controls
This commit is contained in:
parent
db4a965718
commit
c243d4eb63
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user