CogUserTool DefineScriptTerminal Method (String, Object, String, Boolean)Cognex VisionPro 9.7
Called from a script's initialize() funciton to define a tool group terminal associated with the script.

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro.ToolGroup (in Cognex.VisionPro.ToolGroup.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax

public virtual bool DefineScriptTerminal(
	string desiredType,
	Object thing,
	string key,
	bool isInput
)

Parameters

desiredType
Type: System String
The data type associated with the terminal
thing
Type: System Object
An initial copy of the object
key
Type: System String
The name of the terminal, also used to access the value of the terminal
isInput
Type: System Boolean
True to create an input terminal, false for an output terminal

Return Value

Type: Boolean
True if terminal is successfully created.
See Also