Calculate Density with Removing Overlap

This script executes density calculation with removing overlap.

Download here. (density_remove_overlap.py)

Script

chip = pynebv.file.open("/path/to/file")
area = (0,0,10,10)
or_result = pynebv.figure.boolean(chip, True, area=area, operation='OR')
chip.display = False
pynebv.calculation.density(area)
or_result.close()
chip.display = True

How to Use

$ nebv --python-file /path/to/script.py

Results

Output File

None

Console

None

Last modified August 18, 2026