next up previous contents index
Next: selection.extend_by_residue() extend Up: The selection class: handling Previous: selection() create   Contents   Index

selection.add() -- add objects to selection

This adds the given objects (which can be atoms, residues, atom lists, etc) to the selection. obj can also be a Python list or tuple, in which case every object in the list is added.

Ben Webb 2008-05-05