Gets all shapes from the currently open CAD file. Returns a newly created CogGraphicCollection.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax
Return Value
Type: CogGraphicCollectionThe shapes.
Exceptions
| Exception | Condition |
|---|---|
| CogNoFileOpenException | No file is open. |
Remarks
Gets all shapes from the currently open CAD file. Returns a newly created CogGraphicCollection.
See Also