AddSpaceConstants EnumerationCognex VisionPro 9.21

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.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax

public enum AddSpaceConstants
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 CoordinateSpaceTree 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