Rank: Member Groups: Registered
Joined: 19/01/2012(UTC) Posts: 12 Was thanked: 3 time(s) in 2 post(s)
|
Andrey,
is there a way how I can force an evaluation of the worksheet trough a function from a plug-in? I found that within RegionEvaluable there is a function called RequestForEvaluation(). I tried to call this function but did not succeed.
I want to have the ability to force a recalculation of the entire worksheet when a defined condition is met.
Next question: Is there a way to close SMath from a plug-in function? In my scenario I want to open Smath with a defined worksheet, read input parameters from a file, let SMath do some calculations, write back the results to a file and close SMath.
Thanks for your help in advance and for the great program!
Regards, Infinity
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
Hello. Infinity wrote:is there a way how I can force an evaluation of the worksheet trough a function from a plug-in? I found that within RegionEvaluable there is a function called RequestForEvaluation(). I tried to call this function but did not succeed.
I want to have the ability to force a recalculation of the entire worksheet when a defined condition is met. Try this: Code:this.Parent.StartEvaluation(0);
Infinity wrote:Next question: Is there a way to close SMath from a plug-in function? In my scenario I want to open Smath with a defined worksheet, read input parameters from a file, let SMath do some calculations, write back the results to a file and close SMath. There is no built-in ability for such actions, but you can always try to kill SMath Studio process from your instance of the plugin. Regards.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.