1 Pages (2 items)
Smath Control - Messages
#1 Posted: 3/14/2012 6:05:01 AM
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
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
#2 Posted: 3/18/2012 11:22:47 AM
Hello.
Try this:
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.
Wroteis 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:
this.Parent.StartEvaluation(0);
WroteNext 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.
1 Pages (2 items)
-
New Posts
-
No New Posts