sds_ssget

int sds_ssget (const char *mode, const void *point1, const void *point2, const struct sds_resbuf *filter, sds_name setname);


Make a new set of objects, based on this.


This function gets a whole new selection set of objects, using the specified selection method and is limited by a filter.

The mode argument specifies the object selection method:

Mode Meaning Points
NULL (none) Single pick point point1
"C" Crossing point1 point2
"CC" Crossing Circle point1 point2
"CP" Crossing Polygon points-list
"F" Fence points-list
"I" Implied none
"L" Last none
"O" Outside points-list
"OC" Outside Circle point1 point2
"OP" Outside Polygon points-list
"P" Previous none
"PO" POint point1
"W" Window point1 point2
"WC" Window Circle point1 point2
"WP" Window Polygon points-list
"X" All none

NOTES

The filter argument is a list that specifies object properties in dotted pair format, such as selecting all circles colored red (color 1). In addition, the special dotted-pair of -4 lets you include a relational test, which selects all red circles less than 15 units in radius. The operators recognized by IntelliCAD are:

Operator Meaning
"=" Equals.
"!=" Not equal to.
"/=" Not equal to.
"<>" Not equal to.
"<" Less than.
"<=" Less than or equal to.
">" Greater than.
">=" Greater than or equal to.
"*" All.

The following are not used with real numbers:

The setname argument holds the resulting selection set.

NOTES

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)