You will always have to format the output on your own, you may find a Tcl command that helps you, but I think you will have to calculate seconds minutes and hours on your own and the use the format command to create the formatted output.
The Tcl syntax is based on ANSI C, so you should be able to handle it if you know any regular programming language.
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX12.0
How to Get the Most from Your Signature in the Community
Yes, try to find "$mom_toolpath_time" in your tcl file and replace with :
First solution : a proc
Take Stefan's proc ( Look at the link of my first post)
Second solution : (it is the same thing but less efficient)
[expr int($mom_toolpath_time / 60)]h \...
( i'm not sure if this solution work with tcl 8.2)
[clock format $mom_toolpath_time -gmt 1 -format %H:%M:%S]