CogCADFile Close Method Cognex VisionPro 9.22
Closes the currently open CAD file if there is one. There is no error if no file is open. This sets FileName to empty string.

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

public void Close()
Events

Event TypeReason
CogCADFile Changed

Fires when this function is called.

The following state flags may be affected:

    Remarks

    Closes the currently open CAD file if there is one. There is no error if no file is open. This sets FileName to empty string.

    See Also