CORBA::Object_ptr anObject = aNamingService.Resolve("/Kernel/Session");
SALOME::Session_var aSession = SALOME::Session::_narrow(anObject);
//aSession->GetInterface();
- Engines::Component_var aComponent = aSession->GetVisuComponent();
+ Engines::Component_var aComponent = aSession->GetComponent("libVISUEngineImpl.so");
myVisuGen = VISU::VISU_Gen::_narrow(aComponent);
}
{
return myVisuGen->PasteInto(theStream,theObjectID,theObject);
}
+ Engines::TMPFile* VISU_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
+ CORBA::Boolean theIsPublished,
+ CORBA::Boolean& theIsValidScript)
+ {
+ return myVisuGen->DumpPython(theStudy, theIsPublished, theIsValidScript);
+ }
};