skipsophrenic Posted January 9, 2009 Posted January 9, 2009 Hi all, I have some objects in the area of -10,-10,0 and 110,110,0 What I want to know, is, is there a bit of code that will select the objects in that area and change their colour to red? Quote
ASMI Posted January 9, 2009 Posted January 9, 2009 One of the ways: (defun c:test(/ oSet) (if(setq oSet(ssget "_C" (list -10.0 -10.0)(list 110.0 110.0))) (command "_.change" oSet "" "_p" "_c" "Red" "") (princ "\nNothing found!") ); end if (princ) ); end of c:test 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.