From 98533765d61e321e6bde2e114aa56d38e42d7ea6 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 7 Nov 2008 15:48:12 +0000 Subject: [PATCH] isVariable() method added in the notebook. --- src/KERNEL_PY/salome_notebook.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.2