From: ageay Date: Thu, 20 Jan 2005 12:52:17 +0000 (+0000) Subject: Adding salome.cm to Shutdown with TUI launched containers. X-Git-Tag: RES_MAN_20_01_05 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_RES_MAN;p=modules%2Fkernel.git Adding salome.cm to Shutdown with TUI launched containers. --- diff --git a/src/SALOME_SWIG_WITHOUTIHM/salome.py b/src/SALOME_SWIG_WITHOUTIHM/salome.py index 2d5ae11cf..7cd1fb0af 100755 --- a/src/SALOME_SWIG_WITHOUTIHM/salome.py +++ b/src/SALOME_SWIG_WITHOUTIHM/salome.py @@ -28,6 +28,7 @@ from omniORB import CORBA from LifeCycleCORBA import * from libSALOME_Swig import * import SALOMEDS +import Engines from SALOME_NamingServicePy import * from SALOME_utilities import * @@ -154,3 +155,7 @@ myStudyManager = obj._narrow(SALOMEDS.StudyManager) # get active study myStudy = myStudyManager.GetStudyByName(myStudyName) + +# get Container Manager +obj = naming_service.Resolve('/ContainerManager') +cm = obj._narrow(Engines.ContainerManager)