ICogToolGroupScript InterfaceCognex VisionPro 9.10
Defines the interface to be implemented by user script, so that it can be called from VisionPro at the appropriate time. Normally the user script will inherit the CogToolGroupBaseScript class rather than implement ICogToolGroupScript directly.

Namespace: Cognex.VisionPro.ToolGroup
Assembly: Cognex.VisionPro.ToolGroup (in Cognex.VisionPro.ToolGroup.dll) Version: 79.0.0.0 (79.0.0.0)
Syntax

public interface ICogToolGroupScript

The ICogToolGroupScript type exposes the following members.

Methods

  NameDescription
Public methodGroupRun
Called when the tool group is run.
Public methodInitialize
Called when the script is initialized by VisionPro. Any one-time initialization should be performed here.
Public methodModifyCurrentRunRecord
Called when the CurrentRunRecord is created. Allow scripts to modify the contents of the run record.
Public methodModifyLastRunRecord
Called when the LastRunRecord is created. Allow scripts to modify the contents of the run record.
Top
See Also