Painting line simulation

You could use a product property (defined in the product type) either as a counter, or to store simulation time as a timestamp (seconds from simulation start) and calculate remaining time in expressions by comparing to current time.

The current simulation time in seconds can be accessed using SimTime() function in expressions.