CogToolBlock ScriptRefeshRequested Method Cognex VisionPro 9.21 SR1
Refreshes the auto-generated section of the script (if any exist) to update for changes made to the ToolBlock. Should only be called from the ScriptEditor, as this only updates the text... The script editor still needs to recompile and replace the actual script object.

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

protected override void ScriptRefeshRequested(
	Object sender,
	EventArgs e
)

Parameters

sender
Type: System Object
e
Type: System EventArgs
See Also