norad Posted yesterday at 10:53 AM Posted yesterday at 10:53 AM Hi everyone i need some help for autolisp I have many elements that have specific color (set to color 40,33,25,179... (not set to bylayer)) in my drawing so i wish to find all elements that have above specific color, and change property of element to bylayer to see element with bylayer color I found some Lisp but it changed all element's color to bylayer in drawing. it changed elements that i didn't want to changed to bylayer, so i asking for help here is there any lisp can change element's color to bylayer ? i wish lisp work only for elements that color set to color 40,33,25,179 Quote
mhupp Posted 1 hour ago Posted 1 hour ago (setq ss (ssget "X" '((-4 . "<OR") (62 . 40) (62 . 33) (62 . 25) (62 . 179) (-4 . "OR>")))) https://www.lee-mac.com/ssget.html#logical Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.