Thanks for the advice,
I'm new in this stuff and I'm relaying to software created/converted gcode sources.
Can you pls send me some example how you managed the problem?
You don't need to make a complex think just a few steps of code so I can figure out what is doing.
Actually, I like your idea how you solved the problem.
My best regards.