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.

 Caution: Go through Selection Sets via ssname

If you step through a selection set with the ssname function, you should proceed from the last down to first entitiy of the set. Go in loops from 'sslength-1' down to the 0 index. If you didn't delete the last entitiy first, 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.

Example

: (ssdel (entlast) selset1)

Related Functions

entdel, ssname