CogAddSpaceConstants EnumerationCognex VisionPro 9.8 SR1
In a coordinate space tree each child of a given parent space must have a unique name. This enumeration specifies what action will be taken when the user attempts to add a duplicate child space name to an existing parent in the tree.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 75.0.0.0 (75.0.0.0)
Syntax

public enum CogAddSpaceConstants
Members

  Member nameValueDescription
DuplicateIsError0 Attempts to add a duplicate child space will fail. An error will be returned.
ReplaceDuplicate1 Attempts to add a duplicate child space will, instead, replace the transform of the existing child with the same name. Attempts to add a duplicate child tree will replace the entire subtree of the existing child, as well as its transform.
IgnoreDuplicate2 Attempts to add a duplicate child space will be ignored. No error will be returned.
Remarks

In a CogCoordinateSpaceTree or Cog3DCoordinateSpaceTree each child of a given parent space must have a unique name. This enumeration specifies what action to take if you try to add a coordinate space to a parent space that already has an immediate child with the same name as the one you are trying to add. The options are to return an error, replace the named item, or do nothing.

See Also