This is a read-only mirror of pymolwiki.org
Difference between revisions of "Extract"
Jump to navigation
Jump to search
m (1 revision) |
(No difference)
|
Latest revision as of 02:00, 28 March 2014
DESCRIPTION
extract removes the atom selection from an object and creates it as its own object. This allows one to gain independent control over atoms in a scene by extracting them from the original object. For example, one can extract the hetero-atoms to their own object for independent manipulation.
USAGE
extract name, selection [, source_state [, target_state ]]
EXAMPLE
# create the new hets object from all the hetero-atoms.
extract hets, het
PYMOL API
cmd.extract(name, selection, source_state, target_state)