Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I obtain the Editing time?

Status
Not open for further replies.

ury

Electrical
Joined
Jan 10, 2005
Messages
2
Location
IN
I trying to obtain the editing time of a drawing without open it. We have a drawing database and we want to add de editing time of each.

Thank you

URY
 
Maybe by redefining the command "_save" to include a call to a function (VBA) that cumulatively writes the editing time into a txt file.
 
will return the editing time of a drawing

(setq time (getvar "tdindwg"))
(setq hh (fix (* time 24)))
(setq dd (fix (/ hh 24)))
(setq mm (fix (- (* time 1440)(* hh 60))))
(setq ss (- (* 86400 time)(+ (* hh 3600)(* mm 60))))

dd = days
hh = hours
mm = minutes
ss = seconds

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top