Dear Chimera Dev. Team,
There is any way to select the neighbors of a selected atom without drawing the bond? If it is not possible... could you tell me how draw and erase bonds using a python function?
Thank you for your time.
On Mar 12, 2013, at 8:27 AM, Elisabeth Ortega wrote:
Dear Chimera Dev. Team,
There is any way to select the neighbors of a selected atom without drawing the bond? If it is not possible... could you tell me how draw and erase bonds using a python function?
Hi Elisabeth, So you want to select some atoms without selecting the bonds between them.
chimera.selection.addCurrent([atoms])
will add the given atoms to the selection shown in the graphics window without adding the bonds between them. There is a separate function for adding "implied" elements such as the bonds between selected atoms: chimera.selection.addImpliedCurrent(). I hope this is what you meant!
--Eric
Eric Pettersen UCSF Computer Graphics Lab
participants (2)
-
Elisabeth Ortega
-
Eric Pettersen