Returns a collection containing the names of all the layers in the currently open CAD file. DXF files are usually constructed with named layers.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax
Return Value
Type: CogStringCollectionThe returned layer names.
Exceptions
| Exception | Condition |
|---|---|
| CogNoFileOpenException | No file is open. |
Remarks
Returns a collection containing the names of all the layers in the currently open CAD file. DXF files are usually constructed with named layers.
See Also