[lammps-users] Delete molecules within a region

Dear All,

I want to create a hole inside a molecular solid. I know the delete_atoms command can delete atoms within a spherical region, but it removes all atoms in the spherical boundary whether or not they might be bonded to other atoms outside the region. Is there a way in LAMMPS to delete molecules within a specified region? The molecules are specified in the initial date file.

Thank you very much,