Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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
Jan 10, 2005
2
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
 
Replies continue below

Recommended for you

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