]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Adding salome.cm to Shutdown with TUI launched containers. BR_RES_MAN RES_MAN_20_01_05
authorageay <ageay>
Thu, 20 Jan 2005 12:52:17 +0000 (12:52 +0000)
committerageay <ageay>
Thu, 20 Jan 2005 12:52:17 +0000 (12:52 +0000)
src/SALOME_SWIG_WITHOUTIHM/salome.py

index 2d5ae11cf189da858acb36d85b9c61a4bbfbf56f..7cd1fb0af0a6098643486cd7505bbdf5dd18d5a6 100755 (executable)
@@ -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)