I'm working on a routine that selects all the objects on a layer, quite simply just:
<code>(SETQ ss (SSGET "x" '((8 . "0-fdp-h-nos-plot"))))</CODE>
However, I want to the routine to be able to select one of a number of layers, then do the SSGET on the specified layer:
(CODE>(SETQ ss (SSGET ("x" '((8 . layer)))))</CODE>
but test runs don't seem to like this. Can anybody suggest anything?
Not got time to test now, but I've just wondered if I can go
<CODE>(setq SS (ssget "X" laylist))</code>
Having previously defined laylist as being equivilent to (8 . layer). Does that sound plausible?
dJE