CogCoordinateSpaceTree RootName Property Cognex VisionPro 9.22
Returns/sets the name of the root coordinate space in this tree.

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

public string RootName { get; set; }

Property Value

Type: String
Exceptions

ExceptionCondition
CogSpaceTreeInvalidNameSyntaxException

The new name is not a valid root space name.

Remarks

Returns or sets the root coordinate space name for this tree. The new space name must meet the syntactic requirements of a nonqualified coordinate space name, with the exception that you may begin the name with any non-slash punctuation character.

Note: Do not change the root name of a tree attached to an image. Any tree that is or will be attached to an image must have a RootName value of "@" for VisionPro to function properly.

Default Value: @ (root space)

See Also