Zorg Posted May 27, 2009 Posted May 27, 2009 Hey guys, im sad to tell you that my lisp development has slowed to an almost complete stop. Im juggling work and a few websites right now so im not getting even the time to read on the toilet Just wondering, is it possible to create a lisp or several lisp files that will change the colours of objects by simply entering an alias for the colour lets say. Just a thought, thou with my very limited knowledge im not even sure where to start Any help would be appreciated, as always :wink: Z Quote
Lee Mac Posted May 27, 2009 Posted May 27, 2009 See here: http://www.cadtutor.net/forum/showthread.php?t=5713 Quote
BIGAL Posted May 28, 2009 Posted May 28, 2009 Not sure if this helps but we had a txt file that contains all the layer parameters but are associated with a lisp variable so running your change lisp would read the text file first this means your lisp is not hardcoded with an answer nor do you have to enter a colour every time. 1234567890123456789012345678901234567890 Newname Programname Col LineType brick--1 brick--1 1 continuous ceiling--2 ceiling--2 6 continuous ceiling--3 ceiling--3 6 continuous ceiling--5 ceiling--5 6 continuous script generated (setq brick--1 "brick--1") (setq brick--1col 1) (setq brick--1lin "continuous") (setq ceiling--2 "ceiling--2") (setq ceiling--2col 6) (setq ceiling--2lin "continuous") I guess its helpfull if you want to alter a lot of drawings and set the standards. just check if variable exists if not manual answer. 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.