next up previous contents index
Next: selection.only_std_residues() select Up: The selection class: handling Previous: selection.only_atom_types() select   Contents   Index

selection.only_residue_types() -- select only atoms of given residue type

only_residue_types(residue_types)
This returns a new selection containing only atoms from the current selection in residues of the given type(s).
Example: See selection() command.



Ben Webb 2007-01-19