Salome HOME
Windows: fix problem with activation of 'PVViewer'
[modules/kernel.git] / src / Container / SALOME_ContainerPy.py
index 9d0339d199a1253f86c41507d8808f033cce27c8..d49dfd3e36780bb89a34fcd95aab6f2647e00306 100755 (executable)
@@ -1,6 +1,6 @@
 #! /usr/bin/env python
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -245,7 +245,12 @@ class SALOME_ContainerPy_i (Engines__POA.Container):
             i = i + 1
         return anEngine._this()
         
-        
+
+    #-------------------------------------------------------------------------
+
+    def create_python_service_instance(self, CompName):
+        return self.create_component_instance(CompName, 0)
+      
     #-------------------------------------------------------------------------
 
     def remove_impl(self, component):