Hi Thomas,

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.

Cheers,

Tsjerk

On Jun 9, 2012 10:31 AM, "Thomas Holder" <spel...@users.sourceforge.net>
wrote:

Hi Tsjerk,

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.

Cheers,
 Thomas

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
Spemannstr. 35
D-72076 Tübingen
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to