Originally Posted by
akamarathonman
I know AutoCAD has the "TIME" command, but my boss wants it to be able to display a running time in the tray with the snap and all
those other toggle switches. If possible he would like to be able to click on the time displayed in the tray to turn it on or off when you leave or return.
Has anyone seen anything like this?
Sure, go to http://www.manusoft.com/Software/Freebies/Index.stm and look for AcadStatButton.zip under Miscellaneous on the left side. Also check out http://archsymb.com//index.php?optio...d=29&Itemid=52. I played with them a few years back, but Autocad has since added all the switches I need. To get the edit time use the Express Tool EDITTIME with some lisp like:
Code:
(DEFUN C:EdTime (/ Julian Day DecHr Hr DecMin Min Sec EdTime)
(setq Julian (acet-getvar '("BNS_EDITTIME_TOTAL"))
Day (fix Julian)
DecHr (*(- Julian Day)24)
Hr (fix DecHr)
DecMin (*(- DecHr Hr)60)
Min (fix DecMin)
Sec (rtos(*(- DecMin Min)60)2 0)
EdTime (strcat (rtos Day 2 0) " days, " (rtos Hr 2 0) ":" (rtos Min 2 0) ":" Sec " HHMMSS.")
)
(prompt EdTime)
(princ)
);END EdTime
Should be doable.