I am doing '$L AND <layer1> <layer2> <output_layer>' on a gds, where layer1 is on level 0, and lay2 is in subcells.
Once I execute this command nothing come out. Anyone has any idea?
Does 'AND' operation only work when both layers are in the same cell?
$L AND command does the operation on a cell-by-cell basis. There are two ways to get the AND operation throughtout all layers.
1. You can use GUI Layer -> Boolean... and choose "All levels" in the pop-up dialog.
2. You can use layout copy command to flatten the entire layout to a new layout handle and do AND on the derived layout.