tidy3d.plugins.klayout.check_installation

tidy3d.plugins.klayout.check_installation#

class check_installation[source]#

Bases:

Return the path to the KLayout executable if it is installed. The executable is located by checking the system PATH and common platform-specific installation locations.

Parameters:

raise_error (bool) – Whether to raise an error if KLayout is not found. If False, a warning is shown.

Returns:

The path to the KLayout executable. If KLayout is not found, returns None.

Return type:

Union[str, None]

Inherited Common Usage