CogCADToRange FileName Property Cognex VisionPro 9.21
Gets or sets the CAD file name.

Namespace: Cognex.VisionPro.CAD
Assembly: Cognex.VisionPro.CAD (in Cognex.VisionPro.CAD.dll) Version: 83.0.0.0
Syntax

public string FileName { get; set; }

Property Value

Type: String
The CAD file name. The default value is null.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flags may be affected:
Exceptions

ExceptionCondition
ObjectDisposedException If the object has been disposed.
Remarks

Supported file types are STEP(.STEP) and IGES(.igs) files. The file existence and the file extension are checked at runtime.
See Also