0 Members and 1 Guest are viewing this topic.
(setq ent (entget (car (entsel))))(if (assoc 62 ent) (entmod (subst '(62 . 256) (assoc 62 ent) ent));;change to bylayer (entmod (reverse (cons '(62 . 2) (reverse ent))));;change to yellow )
Why can't only 2nd entmod be applied directly ?
(if (and (setq e (car (entsel))) (setq ent (entget e)) ) (entmod (append ent '((62 . 52)));<<- whatever color)