How do you select both "L" & "P" with SSGET?
I tried to use (ssget "L" "P") but it gave me an error.
How do you select both "L" & "P" with SSGET?
I tried to use (ssget "L" "P") but it gave me an error.
How do you select both "L" & "P" with SSGET?
I tried to use (ssget "L" "P") but it gave me an error.
(PROGN (SSGET "P") (SSGET "L"))
will do it. But you want to put it into a selection set I guess. So I suggest to do a
(PROGN
(SETQ ss (SSGET "P"))
(SSADD (ENTLAST) ss)
)
Another way:
(setq ss (ssget "P")
ss (ssadd (entlast) ss)
)
___
"abevlad" wrote:
> How do you select both "L" & "P" with SSGET?
>
> I tried to use (ssget "L" "P") but it gave me an error.