0 Members and 1 Guest are viewing this topic.
(setq ss (ssget "x" ((nth 0 variable)))
Code: [Select](setq ss (ssget "x" ((nth 0 variable)))
(setq ss (ssget "x" (list (nth 0 variable)))
im not having much luck with anything im trying.(setq ss (ssget "X" (list (nth 0 lst)))) this was the line i tried and i just get errors with it.ive also tried(setq var "hello")(setq ss (ssget "X" (list (cons 0 var)))still nothing
More information about your 'variable' may be needed...... To something like this (which assumes the NTH call returns a valid grouped pair):
(setq var "LINE")(setq ss (ssget "x" (list (cons 0 var)))
got it working thank for your help