color background (urgent!)

Whatever is on your mind, whether Lisp related or not.

color background (urgent!)

Postby 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
Bruno Gaiola BRAZIL
 

Re: color background (urgent!)

Postby 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/
findinglisp
 
Posts: 440
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX

Re: color background (urgent!)

Postby 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.
User avatar
nuntius
 
Posts: 497
Joined: Sat Aug 09, 2008 10:44 am
Location: Burlington, MA


Return to The Lounge

Who is online

Users browsing this forum: No registered users and 1 guest