open_markers_in_klayout

luceda.drc.open_markers_in_klayout(gds_path, marker_db, klayout_path=None)

Open a GDS file + error markers (result from a DRC or XOR check) in KLayout.

This is a convenient method to automatically load these files and save a few clicks in KLayout. Running this function multiple times will open KLayout multiple times.

Parameters:
gds_pathstr or Path

The path to the GDS file to open in KLayout.

marker_dbstr, Path, or list of str or Path

The path(s) to the error marker database (typically .lyrdb), or a list of such paths.

klayout_pathstr, Path, optional

The path to the KLayout executable. If None, will attempt to automatically find the executable.

Raises:
FileNotFoundError

If the specified GDS file or any marker database file does not exist.

Exception

If the KLayout executable cannot be found.