Palmito
Well-known member
Hi All,
I am trying to run scripted SubframeSelector process from javascript and have encountered difficulties I haven't been able to solve.
Is there a way to get those expressions to be used by my JS instantiated SS process?
If not, is there a way to call the JSEvaluator used by the PCL process or shall I code my own expression evaluator?
Many thanks!
Cheers and CS!
I am trying to run scripted SubframeSelector process from javascript and have encountered difficulties I haven't been able to solve.
- When I executeGlobal() my SS process (using generated source at first), I have been unable to get approvalExpression and weightExpression to be applied.
I browsed through PCL repository but didn't find anything obvious to me.
In the end to circumvent this issue I have tested SS returned measurement values and approved accordingly.
- Another issue I encountered that could be linked to the first one, is that the measurements array seems to be readonly, I had to instantiate a new one and feed it.
Is there a way to get those expressions to be used by my JS instantiated SS process?
If not, is there a way to call the JSEvaluator used by the PCL process or shall I code my own expression evaluator?
Many thanks!
Cheers and CS!
Last edited: