Extract

From PyMOLWiki
Jump to: navigation, search

Contents

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

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox