This does indeed select the current layer. Thank you very much. This leaves me with:
(Defun C:SELECTOD ()
(setq CurLayer(getvar "clayer"))
(setq ss (ssget "x" (list (cons 8 CurLayer))))
(sssetfirst nil ss)
(princ))
Now if only I could figure out how to filter this set according to the...
I have been going crazy trying to figure out how to do this. I would like a LISP routine, called "SELECTOD", which would select all items on the current layer that have a certain field value set in their Object Data. It would presumably need to prompt for the field name and value. Everything...