Unless you specify otherwise, there is an implied “equals” test between the entity and each item in the filter list. For numeric groups (integers, real values, points, and vectors), you can specify other relations by including relational operators in the filter list. Relational operators are passed as a special ‑4 group, whose value is a string that indicates the test to be applied to the next group in the filter list.
The following sample code selects all circles whose radii are greater than or equal to 2.0:
eb3.restype = 40; // Radius eb3.resval.rreal = 2.0; eb3.rbnext = NULL; eb2.restype = -4; // Filter operator strcpy(sbuf1, ">="); eb2.resval.rstring = sbuf1; // Greater than or equals eb2.rbnext = &eb3; eb1.restype = 0; // Entity type strcpy(sbuf2, "CIRCLE"); eb1.resval.rstring = sbuf2; // Circle eb1.rbnext = &eb2; // Select circles whose radius is >= 2.0. acedSSGet("X", NULL, NULL, &eb1, ssname1);