hello the loops 94 and 102 are wrong as line 89 does not exist regarding the fact that Gmsh saves the file after each command when you get more used to Gmsh you will bless that feature and wonder how you could before without that -- jean pierre aubry 33 688 670 795