ICog3DDisplayV2 Add Method (Cog3DVisionDataGraphicBase, String)Cognex VisionPro 9.8
Adds a Cog3DVisionDataGraphicBase item to the display to the given group. Throws an exception if the item is null. Throws an exception if the item has already been added to the display. Throws an exception if the groupName is null or empty string.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Display.Controls (in Cognex.VisionPro3D.Display.Controls.dll) Version: 75.1.0.0 (75.1.0.0)
Syntax

void Add(
	Cog3DVisionDataGraphicBase item,
	string groupName = "__default"
)

Parameters

item
Type: Cognex.VisionPro3D Cog3DVisionDataGraphicBase
the Cog3DVisionDataGraphicBase item to add to the display
groupName (Optional)
Type: System String
The name of the logical group to add the item to. The groupName is case insensitive.
Exceptions

ExceptionCondition
ArgumentNullException Throws an exception if the item is null
ArgumentException Throws an exception if the item has already been added to the display.
ArgumentException Throws an exception if the groupName is null or empty string.
See Also