How to add date and time to post?

All topics related to RhinoCAM
Post Reply
hahn_rossman
Posts: 17
Joined: Sun Mar 09, 2014 9:35 am

How to add date and time to post?

Post by hahn_rossman »

I would like to add a variable to the start/end of my post processor that would add a comment that shows the date and time of when the post was made. This is mostly so that after the files have been transferred among machines it's easier to figure out which revision is the latest if I forget to change the file name to reflect it. Thanks
Hahn Rossman
MecSoft Support
Posts: 2405
Joined: Wed Aug 01, 2007 4:15 pm
Location: Irvine, CA, USA
Contact:

Re: How to add date and time to post?

Post by MecSoft Support »

Use the variable [TIME_STAMP] in the post processor to output the system time & date in the posted code.
Edit your post processor and under Start up code in the Start/End tab add the above variable along with comment start & end characters
For example ([TIME_STAMP])
This variable is available in 2015 version of MecSoft CAM products.
hahn_rossman
Posts: 17
Joined: Sun Mar 09, 2014 9:35 am

Re: How to add date and time to post?

Post by hahn_rossman »

Thanks! That is exactly what I'm looking for!
Hahn
Post Reply