load_layout

photonforge.load_layout(filename, technology=None, layers=[], cell_names=[])

Load a layout file as components.

Parameters:
  • filename – GDSII/OASIS file name to load.

  • technology – Technology used to create the layout. If not specified, the current default technology will be used.

  • layers – If not empty, only these layers will be converted.

  • cell_names – If not empty, only these cells (and dependencies) will be converted.

Returns:

Dictionary of components indexed by name.