]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
isVariable() method added in the notebook.
authorrnv <rnv@opencascade.com>
Fri, 7 Nov 2008 15:48:12 +0000 (15:48 +0000)
committerrnv <rnv@opencascade.com>
Fri, 7 Nov 2008 15:48:12 +0000 (15:48 +0000)
src/KERNEL_PY/salome_notebook.py

index 08da078ff05b21a8a279667de121ad89078e94d6..efb0279eb8ddf61b74d50e9c542a55083883fca4 100644 (file)
@@ -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)