vmd.atomsel.write

atomsel.write()

Write atoms in this selection to a file of the given type

Parameters:
  • filetype (str) – File type to write, as defined by molfileplugin
  • filename (str) – Filename to write to