The problem is a bit more complicated than that. I just want to be able to turn on/off some representation by just clicking the atom. I don't want to select, press key, deselect. Especially for carving surfaces or meshes: click atom to turn off and click again to turn on if the result is not good. Since it's not always immediately clear which triangles correspond to which atoms, this seems to be the best way to carve manually.
On Jun 9, 2012 10:31 AM, "Thomas Holder" <firstname.lastname@example.org> wrote:
you could map keys, so hiding surface of a atom/residue/... breaks down to a click + key press operation.
cmd.set_key('F1', cmd.show, ('surface', 'sele'))
cmd.set_key('F2', cmd.hide, ('surface', 'sele'))
If you really want to map the mouse click operation you need to write a wizard, which is more work.
Tsjerk Wassenaar wrote, On 06/09/12 07:24:
> > Beautiful people, > > I was trying to make an image with a surface, with part of the surface > ...Thomas Holder
MPI for Developmental Biology