Gets all shapes in the specified group from the currently open CAD file. Returns a newly created CogGraphicCollection.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Parameters
- groupName
- Type: System String
The group from which to get the shapes.
Return Value
Type: CogGraphicCollectionThe shapes.
Exceptions
| Exception | Condition |
|---|---|
| CogNoFileOpenException | No file is open. |
| ArgumentException | groupName does not exist.. |
Remarks
Gets all shapes in the specified group from the currently open CAD file. Returns a newly created CogGraphicCollection.
See Also