PDA

View Full Version : Create/change a Toolbar button Via Lisp


ccowgill
2009-04-06, 03:59 PM
I'm using vanilla AutoCAD, and I would like to add a toggle that shows the current status of the edgemode system variable, basically blue background if it is 1, grey background if it is 0. I have messed with the Status Bar Toggle routines by Manusoft, with no luck. I was thinking it may be able to change a tool bar button via reactors and lisp, but I have no Idea how. Maybe I could just create a modeless dialog box that is relativly small that is always open, and shows the status of the system variable. But I wouldnt know where to start there either. I think that Open DCL may be a good app for this, but I dont know. Any suggestions or assistance are greatly appreciated.

Thanks,

azarko
2009-04-06, 08:50 PM
Try this simple example. Instructions in a file readme.txt
http://keep4u.ru/imgs/b/080520/ae/ae594811c442eb0176.jpg

ccowgill
2009-04-07, 03:44 PM
I think that may be the way to go, it seems simple enough for me to change to what I need.

Thanks for posting that solution.