CogCADFile GetShapes Method Cognex VisionPro 9.8 SR1
Gets all shapes from the currently open CAD file. Returns a newly created CogGraphicCollection.

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

public CogGraphicCollection GetShapes()

Return Value

Type: CogGraphicCollection

The shapes.

Exceptions

ExceptionCondition
CogNoFileOpenException

No file is open.

Remarks

Gets all shapes from the currently open CAD file. Returns a newly created CogGraphicCollection.

See Also