vmd.graphics.delete

vmd.graphics.delete()

Deletes a specified graphics object, or all graphics at a given molid

Parameters:
  • molid (int) – Molecule ID to delete graphics from
  • which (int or str) – Graphics ID to delete, or ‘all’ for all objects.