From: asl Date: Mon, 7 Dec 2009 11:17:20 +0000 (+0000) Subject: 1. The Update() method now updates all objects (no argument) X-Git-Tag: PHASE_17_Part1_V3~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=64bcfe6efbfb72960ece5460db0d348e64b18cb2;p=modules%2Fkernel.git 1. The Update() method now updates all objects (no argument) 2. New method Calculate() for calculations with notebook parameters without creation of anonymous parameter --- 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();