From: rnv Date: Fri, 7 Nov 2008 15:48:12 +0000 (+0000) Subject: isVariable() method added in the notebook. X-Git-Tag: TG_DumpPython_Extension_2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=98533765d61e321e6bde2e114aa56d38e42d7ea6;p=modules%2Fkernel.git isVariable() method added in the notebook. --- diff --git a/src/KERNEL_PY/salome_notebook.py b/src/KERNEL_PY/salome_notebook.py index 08da078ff..efb0279eb 100644 --- a/src/KERNEL_PY/salome_notebook.py +++ b/src/KERNEL_PY/salome_notebook.py @@ -58,5 +58,8 @@ class NoteBook: aResult = self.myStudy.GetBoolean(variableName) return aResult + + def isVariable(self, variableName): + return self.myStudy.IsVariable(variableName) notebook = NoteBook(salome.myStudy)