I'm using process flow to dictate all logic within my 3d model. I want to get utilization statistics back from my operators, but they do not change states while using logic from process flow. To fix this, I added a custom code before my delay bubble with these lines:
treenode operator = getlabel(token, "Operator Resource"); treenode ts = createemptytasksequence(operator, NULL, NULL); inserttask(ts, TASKTYPE_UTILIZE, item, NULL, 0); dispatchtasksequence(ts);
I added the same code after the delay bubble, except it is releasing my operators. This seems to work, and I can see my operators changing states. However, when I now try to get statistics from the 3d model, I get this error:
exception: Exception caught in flexscript execution of VIEW:/active/StateAnalysisProperties579109024/tabcontrol/Colors/Scroll/Panel>eventfunctions/getRGBColor line 18 instruction 120 (evaluating command parameter 1 as number). Discontinuing execution.
exception: Exception caught in flexscript execution of VIEW:/active/StateAnalysisProperties579109024/tabcontrol/Colors/Scroll/Panel>eventfunctions/getRGBColor line 18 instruction 120 (evaluating command parameter 2 as number). Discontinuing execution.
exception: Exception caught in TreeNode::callMemberFunction() flexscript execution VIEW:/active/StateAnalysisProperties579109024/tabcontrol/Colors/Scroll/Panel>eventfunctions/getRGBColor c: VIEW:/active/StateAnalysisProperties579109024/tabcontrol/Colors/Scroll/Panel theclass: VIEW:/active/StateAnalysisProperties579109024/tabcontrol/Colors/Scroll/Panel
How do I fix this?