tidy3d.plugins.klayout.run_drc_on_gds

Contents

tidy3d.plugins.klayout.run_drc_on_gds#

class run_drc_on_gds[source]#

Bases:

Runs KLayoutโ€™s DRC on a GDS file.

Parameters:

config (DRCConfig) โ€“ The configuration for the DRC run.

Returns:

The DRC results object containing violations and status.

Return type:

DRCResults

Example

>>> from tidy3d.plugins.klayout.drc import run_drc_on_gds, DRCConfig
>>> config = DRCConfig(gdsfile="geom.gds", drc_runset="my_drc_runset.drc", resultsfile="drc_results.lyrdb", verbose=True) 
>>> results = run_drc_on_gds(config) 
>>> print(results) 

Inherited Common Usage