KLayout Manual: Main Index » KLayout User Manual » Editing Functions » Advanced Editing Operations » Flatten Cells

Flatten Cells

The "flatten cell" operation flattens a cell into all of it's parents. This basically removes a cell by promoting her shapes and instances up in the hierarchy.

The flatten operation offers some options, i.e. the number of hierarchy levels to flatten and how to deal with child cells which become obsolete through this operation. By enabling this "prune" option, all child cells are removed when they are no longer needed. Otherwise, new top level cells will appear - these are the cells which are not longer instantiated.