color background (urgent!)

Whatever is on your mind, whether Lisp related or not.
Post Reply
Bruno Gaiola BRAZIL

color background (urgent!)

Post by Bruno Gaiola BRAZIL » Mon Oct 26, 2009 5:45 am

Hello, I represent a Brazilian company
develops projects in partnership with AutoDesk

would like to create a routine that when you run it
change the background color of autocad.

thanks.

Domus Lepton & Brazil

findinglisp
Posts: 447
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX
Contact:

Re: color background (urgent!)

Post by findinglisp » Mon Oct 26, 2009 9:36 am

My hunch is that you aren't going to get too many answers to this. While AutoCAD is written in Lisp, it's a non-standard dialect that is not used out of AutoCAD circles. Most of the folks here are unlikely to know much about it. You'd probably be more likely to get a good response from an AutoCAD-specific forum. That said, your question is welcome.
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: color background (urgent!)

Post by nuntius » Mon Oct 26, 2009 2:19 pm

A quick search for "autolisp background color" found these promising code snippets.
http://rkmcswain.blogspot.com/2007/02/t ... round.html
http://www.jtbworld.com/lisp/backgroundchanger.htm

It looks to me like 0=0x000000=black and 16777215=0xffffff=white. If so, an HTML color chooser could help you pick other colors.

Post Reply