Creates a new ToolBlock script using the specified language and type.
Namespace: Cognex.VisionPro.ToolBlockAssembly: Cognex.VisionPro.ToolGroup (in Cognex.VisionPro.ToolGroup.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
Parameters
- lang
- Type: Cognex.VisionPro.Implementation.Internal CogScriptLanguageConstants
The langugage of the script to create (VB.NET or C#).
- type
- Type: Cognex.VisionPro.ToolBlock CogToolBlockScriptTypeConstants
The type of the script to create (simple or advanced).
See Also