vmd.trans.set_translation

vmd.trans.set_translation()

Set the translation of an individual molecule

Parameters:
  • molid (int) – Molecule ID to set translation of
  • trans (list of 3 floats) – New (x,y,z) translation for molecule