You are viewing the documentation for an older COMSOL version. The latest version is available here.
Clearing Meshes
To clear the mesh of a sequence, enter
model.component(<ctag>).mesh(<tag>).clearMesh();
To clear the mesh and remove all features in a sequence, enter
model.component(<ctag>).mesh(<tag>).feature().clear();
To clear all meshes for all geometries in a model, enter
model.component(<ctag>).mesh().clearMeshes();