gplugins.klayout.drc.write_drc.check_area# gplugins.klayout.drc.write_drc.check_area(layer: str, min_area_um2: float | int = 2.0) → str[source]# Return script for min area checking. Parameters: layer – layer name. min_area_um2 – min area in um2. int if dbu, float if um.