CogScriptGen UsesVisionInterop Method Cognex VisionPro 9.10
Simple helper method to check if a type, via it's FullName, represents a Classify or Segment tool. This is needed because those tools require some special handling for assembly references and imports.

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

public static void UsesVisionInterop(
	string typeFullName,
	ref bool hasClassify,
	ref bool hasSegment
)

Parameters

typeFullName
Type: System String
Full name of the type to check
hasClassify
Type: System Boolean 
Set true if the type is a Classify tool, otherwise unchanged
hasSegment
Type: System Boolean 
Set true if the type is a Segment tool, otherwise unchanged
See Also