Page 1 of 1

color background (urgent!)

Posted: Mon Oct 26, 2009 5:45 am
by Bruno Gaiola BRAZIL
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

Re: color background (urgent!)

Posted: Mon Oct 26, 2009 9:36 am
by findinglisp
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.

Re: color background (urgent!)

Posted: Mon Oct 26, 2009 2:19 pm
by nuntius
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.