std-ssmap | ![]() ![]() |
(std-ssmap <func> <ss>) ; calls func for each ent in ss
This function calls the function func (requiring exactly one argument) with every element from the selection set.
This is useful for processing every entity in the chosen selection set in a faster way than with STD-SSLIST. It needs less memory, but is harder to read.
Note:
This function was formerly called SSAPPLY in the comp.cad.autocad AutoLISP FAQ.
func: A function or lambda list taking one argument, which must be of type ENAME.
ss: A selection set, of type PICKSET.
Not defined. Most likely the result of the function called with the last entity.
Note: This is different from MAPCAR.
Depending on the function. Usually only called because of its sideeffects.
(std-require 'STDENT)
Defined in STDENT