Return a copy of the subtree rooted at SpaceName.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.1.1
Syntax
Parameters
- spaceName
- Type: System String
A valid nonqualified or fully-qualified space name that indicates the root space of the subtree to copy.
Return Value
Type: CoordinateSpaceTreeThe copied coordinate space subtree.
Exceptions
| Exception | Condition |
|---|---|
| SpaceTreeException | spaceName value is not a legal space name. |
| SpaceTreeException | spaceName is a nonqualified space name and more than one instance of it exists in this tree. |
Remarks
Returns a copy of the subtree rooted at the given space name. CopySubtree does not perform a deep copy of trees embedded using the AddTree method. Instead, it creates an additional reference.
See Also