model.mesh(<tag>).automatic(false);model.mesh(<tag>).automatic(true);The value 5 of <size> corresponds to the default size, the values 4, 3, 2, and 1 give you an increasingly finer mesh, whereas the values 6, 7, 8, and 9 give you a coarser mesh. The method model.mesh(<tag>).autoMeshSize() returns the current size adjustment.