Jump to content

Extract

From PyMOL Wiki

DESCRIPTION

[edit]

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

[edit]
extract name, selection [, source_state [, target_state ]]

EXAMPLE

[edit]
# create the new hets object from all the hetero-atoms.
extract hets, het

PYMOL API

[edit]
cmd.extract(name, selection, source_state, target_state)

SEE ALSO

[edit]

create