Skip to content

Flatten Hierarchy

Expands all cell references (SREFs and AREFs) into a single flat cell, eliminating the hierarchical structure.

When to Use

  • When the target format doesn't support hierarchy
  • Before boolean operations that need to process geometry across cell boundaries
  • When cell references with transformations complicate downstream processing
  • To resolve all array references into individual shapes

Options

Option Description Default
Selected cells only Flatten only specified cells Off (all)

How It Works

  1. Starting from the top cell, recursively expands all cell references
  2. Applies each reference's transformation (translation, rotation, scaling, mirroring) to the referenced geometry
  3. Array references are expanded into individual shapes
  4. The result is a single cell containing all geometry with absolute coordinates

Technical Notes

  • Flattening is irreversible without undo — the hierarchy information is lost
  • Large designs with many array references can expand to millions of shapes
  • Memory usage increases significantly for deeply nested hierarchies
  • Consider whether your target format actually requires flattening — many formats support hierarchy