From: Phil P. L. <pp...@ma...> - 2010-01-19 20:01:10
|
I am writing a Pymol plugin, in which I need to extract, manipulate, and replace the coordinates of selected atoms. Are there examples out there I could use as a prototype? For starters, what command(s) do I use to get the name strings of residues that I've selected with mouse clicks. I would like to assign these to a variable. Then the same question applies to coordinates. How do I assign the values of atomic coordinates to a list variable in my plug_in script? |