Remove elements from a region


I would like in a 3D mesh remove elements which are in a specific region.
Regions doesn’t have commom boundary and I can not use trunc fonction with geometrical criteria.
Are there a possibility with functions “movemesh”, “trunc”, … to select a tetreadre with his region number?
Or perhaps with tetgen but I didn’t find it.

Best Regards,

I find a solution, not very beautiful but it’s work…

  1. load my mesh with n region with freefem
  2. export a vtk file (savevtk)
  3. read the vtk file with paraview, use threshold filter to extract region and export vtk file
  4. load the vtk file in freefem (vtkload3)

If someone have a solution with a function in freefem I am still interested. Thank you