Closed donn closed 1 year ago
Hi @donn,
Basically layer properties are part of the LayoutView configuration, hence there is no such thing inside MainWindow when no LayoutView exists.
But I wonder why you need layer properties on stream out. I suppose "stream out" means DEF to GDS conversion. Layer properties are not involved here - these only control display of layout. The stream readers and writers do not use layer properties.
The DEF reader can use a layer map file which controls the translation of DEF layer names to GDS layer/datatype numbers. Maybe you refer to this feature?
Matthias
Sorry for the late reply- yeah, that'll do. Thank you so much.
In our Klayout stream-out script for OpenLane, we load the layout as follows:
However,
load_layer_props
doesn't seem to exist unless we use LayoutView, which we do not so far in this script. Is there any way around this?