Salome HOME
Edit createStudy method
[modules/kernel.git] / idl / SALOME_PyNode.idl
index e0e3ef0ac49848ff52f54f4f177ae1e610306537..0e1b77d9ac69de90a2f7be6367ec0fad13a4df23 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -40,6 +40,12 @@ module Engines
 
   interface PyNodeBase : SALOME::GenericObj
   {
+    /*!
+      This method allows to define a new global var called \a varName. This newly created var will be
+      set to value \a valueOfVar.
+     */
+    void defineNewCustomVar(in string varName, in pickledArgs valueOfVar) raises (SALOME::SALOME_Exception);
+
     /*!
     This methode executes the python code in \a codeStr and can append/remove symboles in context to make them available or not for future call of execute on this.
     \param [in] codeStr - the python code (without statement) to be executed, that can modify the context initialized at initialization.