sds_ssgetfirst

int sds_ssgetfirst (struct sds_resbuf **gripped, struct sds_resbuf **selected);


Determine which objects are highlighted and/or gripped.


This function reports the number of objects in drawing that are highlighted (selected) and gripped. Grips are the small squares that surround an object. The sds_ssgetfirst function returns a list with two elements: the first element a selection set of objects that are gripped but not selected; the second element is a selection set of objects that are gripped and selected.

The gripped argument points to a result buffer containing a selection set of objects that are currently gripped in the drawing. When no objects are gripped, the result is null.

The selected argument points to a result buffer containing a selection set of objects that are currently selected in the drawing. When no objects are selected, the result is null.

This function returns RTNORM or RTREJ.

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)