From 1985624bb23543685fabde868755488ebb15d5d4 Mon Sep 17 00:00:00 2001 From: mpa Date: Thu, 3 Nov 2016 15:20:39 +0300 Subject: [PATCH] python changes --- src/KERNEL_PY/kernel/services.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/KERNEL_PY/kernel/services.py b/src/KERNEL_PY/kernel/services.py index b1b3db9c1..e7f3f33b2 100644 --- a/src/KERNEL_PY/kernel/services.py +++ b/src/KERNEL_PY/kernel/services.py @@ -123,6 +123,13 @@ def getComponentList(): raise RuntimeError, "Can't accesss module catalog" return catalog.GetComponentList() +## Get a study +# \ingroup service +def getStudy(): + """Get a study""" + return salome.myStudy + + import SALOMEDS ## Get a study to create SALOME study. # \warning you should use instead the variable salome.myStudy. -- 2.39.2