ssdel
(ssdel ename sname)
The ssdel function removes a valid entity specified by ename from the selection set sname. The entity specified by ename and the selection set sname must belong to the current drawing.
If you step through a selection set with the ssname function, you should proceed from the last down to the first entitiy of the selection set. Make sure to always delete the last entity from the selection set. If you fail to do this, all indices of the selection set are updated and become unusable.
Return Value
If the function succeeds, it returns the name of the selection set; otherwise, it returns nil.
: (ssdel (entlast) selset1)
entdel, ssname