Called when the tool group is run. This function should be overridden
to provide custom tool group behavior in script.
Namespace: Cognex.VisionPro.ToolGroupAssembly: Cognex.VisionPro.ToolGroup (in Cognex.VisionPro.ToolGroup.dll) Version: 85.1.0.0 (85.1.0.0)
Syntax
Parameters
- message
- Type: System String
Result message for the tool group. Should be used as an argument when calling RunTool in script. Can also be overwritten with a script specific result message.
- result
- Type: Cognex.VisionPro CogToolResultConstants
Result value for the tool group. Should be used as an argument when calling RunTool from script. Can also be overwritten if the script "calculates" the final result.
Return Value
Type: BooleanTrue if VisionPro should run the tool group, False if VisionPro should not run the tool group because the script is running the tools.
Implements
ICogToolGroupScript GroupRun(String , CogToolResultConstants )See Also