layer name = expr binds a name. input reads from the current design (after source), optionally from a second GDS once that binding is available.
input(n)Available · yields polygons
layer m1 = input(68)
All shapes on GDS layer n, datatype 0, after flatten into source. Overlapping polygons are merged on read (union plus a vertex stitch).
Notes
texts(...).input(n, d)Available · yields polygons
layer via = input(70, 20)
Layer n, datatype d. Other datatypes on the same number are a different layer.
Notes
input(70) is not the union of all datatypes 70/* — only datatype 0.input.rawAvailable · yields polygons
layer raw = input(68, 20).raw
Like input, but without merge. Overlapping and kissing shapes stay separate polygons. Important for inside on raw shapes and for count.
Notes
raw counts two, merged counts one.raw keeps two.raw measure the edges of each shape — self-space between copies is possible.input from=Available · yields polygons
layer b_m1 = input(1, 0, from=other)
Reads from the layout bound with gds other = …. Flatten and cells of the host apply; the main clip window does not.
Notes
from= is a runtime error.baseDir.