Extract

From PyMOLWiki
Revision as of 12:35, 31 May 2008 by Inchoate (talk | contribs) (New page: =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 ''extracti...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)

SEE ALSO

create