Engines::TMPFile*
-MED::DumpPython(CORBA::Object_ptr theStudy,
- CORBA::Boolean isPublished,
+MED::DumpPython(CORBA::Boolean isPublished,
CORBA::Boolean isMultiFile,
CORBA::Boolean& isValidScript)
{
+ SALOME_LifeCycleCORBA lcc;
+ CORBA::Object_var theStudy = lcc.namingService()->Resolve("/Study");
SALOMEDS::Study_var aStudy = SALOMEDS::Study::_narrow(theStudy);
if(CORBA::is_nil(aStudy)) {
std::cerr << "Error: Cannot find the study\n";
void cleanUp();
/*! Dump the study as a Python file */
- virtual Engines::TMPFile* DumpPython(CORBA::Object_ptr theStudy,
- CORBA::Boolean isPublished,
+ virtual Engines::TMPFile* DumpPython(CORBA::Boolean isPublished,
CORBA::Boolean isMultiFile,
CORBA::Boolean& isValidScript);