The
multisave command can save a multi-entry PDB file.
Every object in the given selection will have a HEADER record, and is terminated with END. Loading such a multi-entry PDB file into PyMOL will load each entry as a separate object.
This behavior is different to the save command, where a multi-object selection is written "flat" to a PDB file, without HEADER records.
Older versions could also export a proprietary binary "pmo" file format with this command. However, "pmo" format never supported multiple entries, support was partially broken in in the 1.7 and 1.8 versions, and was finally removed in 1.8.4.
Changes in PyMOL 1.8.4
- CRYST1 records are written if symmetry is defined
- Interpret "pattern" argument as an atom selection. Previous versions expected an object name pattern or a list of objects.
- dropped "pmo" format support
Usage
multisave filename [, pattern [, state [, append ]]]
Arguments
- filename = str: file path to be written
- pattern = str: atom selection (before ..→