User Tools

Site Tools


command:save

Table of Contents

save

“save” writes content to a file.

Usage

save filename [, selection [, state [, format ]]]

Arguments

filename = string: file path to be written

selection = string: atoms to save {default: (all)}

state = integer: state to save {default: -1 (current state)}

Notes

The file format is automatically chosen if the extesion is one of the supported output formats: pdb, pqr, mol, pkl, mmd, mmod, pov, png, pse, aln, obj, mtl, or wrl.

If the file format is not recognized, then a PDB file is written by default.

For molecular files and where applicable and supported:

  • if state = -1 (default), then only the current state is written.
  • if state = 0, then a multi-state output file is written.

See Also

command/save.txt · Last modified: 2013/08/19 21:01 (external edit)