Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Manufacturing Process Table

Murlin

New member
Howdy all.

My apologies if this topic has already been covered. If it has, could someone throw up a link.

My question is:


How do you change the Machining Time format, in the Process Table, to output Hrs and Minutes rather than Minutes and Seconds.

Thanks to any that respond....
 
Process Mgr > Tools > Global Relation:
mach_time = machining_time/60
hours = floor(mach_time)
minutes=floor((mach_time-hours)*60)
hstr = itos(hours)
if hstr == ""
hstr = "0"
endif
mstr = itos(minutes)
if mstr == ""
mstr = "0"
endif
hhss=hstr+":"+mstr

(Process Mgr >) View > View Builder...:
(Group) Feature Parameters
(Name) mach_time [>>]
(Name) hours [>>]
(Name) minutes [>>]
(Name) hhss [>>] OK
 

Sponsor

Back
Top