From 64bcfe6efbfb72960ece5460db0d348e64b18cb2 Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 7 Dec 2009 11:17:20 +0000 Subject: [PATCH] 1. The Update() method now updates all objects (no argument) 2. New method Calculate() for calculations with notebook parameters without creation of anonymous parameter --- idl/SALOME_Notebook.idl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/idl/SALOME_Notebook.idl b/idl/SALOME_Notebook.idl index b2d22bcfc..2b0d696f8 100644 --- a/idl/SALOME_Notebook.idl +++ b/idl/SALOME_Notebook.idl @@ -162,7 +162,7 @@ module SALOME void SetToUpdate( in ParameterizedObject obj ) raises( NotebookError ); //! update all objects marked as "need to update" - void Update( in boolean onlyParameters ) raises( NotebookError, ExpressionError, CalculationError ); + void Update() raises( NotebookError, ExpressionError, CalculationError ); @@ -195,6 +195,10 @@ module SALOME //! access to parameter from notebook Parameter GetParameter( in string name ); + //! access to temporary parameter in order to calculate an expression + //! with notebook parameters without creation of anonymous variable + Parameter Calculate( in string expr ) raises( ExpressionError, CalculationError ); + //! return list of all names of parameters (without anonymous ones) StringArray Parameters(); -- 2.39.2