Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 69.0.0.0
Parameters
- spaceName
- Type: System String
A valid nonqualified or fully-qualified space name to find in this coordinate space tree.
- pathnameFormat
- Type: Cognex.VisionPro CogSpaceTreePathnameConstants
A CogSpaceTreePathnameConstants value that indicates how the returned name(s) should be formatted.
- childrenOnly
- Type: System Boolean
If false, the supplied space name is included as a separate item in the returned collection of space names. If true, the supplied space name does not appear as a collection item.
Return Value
Type: List StringA collection that contains a listing of the child coordinate space names of the given space name. If no children exist, the collection has no items.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The pathnameFormat value is not a member of CogSpaceTreePathnameConstants. |
| CogSpaceTreeInvalidNameSyntaxException | spaceName is not a legal space name. |
| CogSpaceTreeNameNotUniqueException | spaceName is a nonqualified space name and more than one instance of it exists in this tree. |
| CogSpaceTreeNameNotInTreeException | spaceName does not exist in this tree. |
Returns a collection of names that includes all the descendants of the given space. If no children exist and childrenOnly is true, the collection has no items.