Previous: new-molecule-by-atom-selection, Up: New Molecule by Section Interface


11.83.3 new-molecule-by-sphere-selection

— function: new-molecule-by-sphere-selection imol x y z r allow_partial_residues

Where:

create a new molecule that consists of only the atoms within the given radius (r) of the given position.

Returns: the new molecule number, -1 means an error.