Hi Graham,
thank you for your help.
I have just tested that code and it work well.
If I use the G52 code all subroutines work well and the multiple object are OK.
But if I use the programming with expression ( like [#9001+2.35]) the software work not good.
I prefer to use the expression because the position of objecs are calculated with a numeric procedure ( the code I posted is only a part of a complex program).
Do you know why my code with expression don't work well ?
There is a reason ?
I have also seen that in the preview window the tool path is not correct ..... there are a lot of white lines that are not included in my theorical path of tool.
Do you Know bugs about programming with expression ?
Thanks.
Maurizio