vmd.graphics.replace

vmd.graphics.replace()

Delete a graphics object and have the next element replace this one.

Parameters:
  • molid (int) – Molecule ID containing graphics object
  • graphic (int) – Graphics object ID to delete