selection.only_atom_types() — select only atoms of given types

only_atom_types(atom_types)
This returns a new selection containing only atoms from the current selection of the given type(s).
Example: See selection() command.



Automatic builds 2016-01-07