sds_ssadd

int sds_ssadd (const sds_name entity-name, const sds_name setname1, sds_name setname2);


Add this object to that selection set.


This function adds an object to the specified selection set and stores the updated set by another name. If an object is given, but no name, the sds_ssadd function creates a new set containing only the given object.

The argument entity-name is the entity name of the object to be included in the set.

The argument setname1 is the existing selection set and can be NULL.

The argument setname2 is the resulting selection set. The object has been added to this set..

This function returns RTNORM or an error code.

Example

sds_name entname1,entname2,setname1,setname2;

sds_point point1;

sds_entsel("\nPick an object: ",entname1,point1);

sds_ssadd(entname1,NULL,setname1);

sds_entsel("\nPick another object to add to the set: ",entname2,point1);

sds_ssadd(entname2,setname1,setname2);

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)

sds_ssdel