kyheulon
22-09-2004, 12:16 AM
Everyone,
This works for me....
(setq test (ssget "x" '((2 . "blkname") (410 . "layout1"))))
But I want to be able to use the current layout instead of the "layout1", so I try this with and error of "bad point argument"...
(setq blk (cons 2 "blkname"))
(setq clayout (cons 410 (getvar "ctab")))
(setq test (ssget "x" blk clayout))
Any ideas on how to make this work?
Thanks
This works for me....
(setq test (ssget "x" '((2 . "blkname") (410 . "layout1"))))
But I want to be able to use the current layout instead of the "layout1", so I try this with and error of "bad point argument"...
(setq blk (cons 2 "blkname"))
(setq clayout (cons 410 (getvar "ctab")))
(setq test (ssget "x" blk clayout))
Any ideas on how to make this work?
Thanks