1 страниц (2 вхождений)
Smath Control - Сообщения
#1 Опубликовано: 14.03.2012 06:05:01
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 Опубликовано: 18.03.2012 11:22:47
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 страниц (2 вхождений)
-
Новые сообщения
-
Нет новых сообщений