Index: trunk/src_plugins/drc_query/drc_query.conf =================================================================== --- trunk/src_plugins/drc_query/drc_query.conf (revision 30386) +++ trunk/src_plugins/drc_query/drc_query.conf (revision 30387) @@ -90,6 +90,13 @@ query = {(@.layer.type == SILK) && (@.thickness != 0) && (@.thickness < $min_silk_thickness)} } + ha:beyond_drawing_area { + type = object beyond drawing area + title = Objects located outside of the drawing area + desc = Objects may be omitted from exports or may be outside of the board contour. + query = { (@.bbox.x2 < 0) || (@.bbox.y2 < 0) || (@.bbox.x1 > $dwg_area_x) || (@.bbox.y1 > $dwg_area_y) } + } + } } }