Index: trunk/src_plugins/query/dlg_search_tab.h =================================================================== --- trunk/src_plugins/query/dlg_search_tab.h (revision 34014) +++ trunk/src_plugins/query/dlg_search_tab.h (revision 34015) @@ -132,6 +132,7 @@ {"@.string", "string", &op_tab[OPS_STR], RIGHT_STR, NULL}, {"@.rotation", "rotation", &op_tab[OPS_ANY], RIGHT_DOUBLE, NULL}, {"@.thickness", "thickness", &op_tab[OPS_ANY], RIGHT_COORD, NULL}, + {"@.clearance", "clearance", &op_tab[OPS_ANY], RIGHT_COORD, NULL}, {NULL, "polygon", NULL, 0, NULL}, {"@.points", "points", &op_tab[OPS_ANY], RIGHT_INT, NULL}, Index: trunk/src_plugins/query/query_access.c =================================================================== --- trunk/src_plugins/query/query_access.c (revision 34014) +++ trunk/src_plugins/query/query_access.c (revision 34015) @@ -753,6 +753,7 @@ case query_fields_rotation: case query_fields_rot: PCB_QRY_RET_DBL(res, t->rot); case query_fields_thickness:PCB_QRY_RET_COORD(res, t->thickness); + case query_fields_clearance:PCB_QRY_RET_COORD(res, t->clearance); case query_fields_string: PCB_QRY_RET_STR(res, t->TextString); case query_fields_area: PCB_QRY_RET_DBL(res, (double)(t->BoundingBox.Y2 - t->BoundingBox.Y1) * (double)(t->BoundingBox.X2 - t->BoundingBox.X1)); default:;