Salome HOME
Issue 0020342: EDF 1025 GUI: Impossible to choose the container for a Python module
authorvsr <vsr@opencascade.com>
Wed, 6 May 2009 10:18:53 +0000 (10:18 +0000)
committervsr <vsr@opencascade.com>
Wed, 6 May 2009 10:18:53 +0000 (10:18 +0000)
src/PYHELLOGUI/PYHELLOGUI.py

index 5dd6ce554ac1ea0f089b801b114d8e2b52497033..8572499e4092f4e5d699d0c17890ab59ce4edf34 100644 (file)
@@ -410,6 +410,12 @@ def viewClosed( viewID ):
     if verbose() : print "PYHELLOGUI.viewClosed(): %d" % viewID
     pass
 
+# called when study is opened
+# returns engine IOR
+def engineIOR():
+    if verbose() : print "PYHELLOGUI.engineIOR()"
+    return orb.object_to_string(_getEngine())
+
 ################################################
 # GUI actions implementation
 ################################################