VMD-L Mailing List
From: Enzo Vitale (enzo.vitale_at_epfl.ch)
Date: Tue May 02 2006 - 09:39:10 CDT
- Next message: Leandro Martínez: "OFF drawing method"
- Previous message: Naser, Md Abu : "adding hydrogen atoms"
- Next in thread: John Stone: "Re: coordinates of an atom"
- Reply: John Stone: "Re: coordinates of an atom"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear VMD experts,
I have another simple question, again related to scripting VMD by
means of TCL: is there a predefined array variable holding the
coordinates of all atoms of a given molecule ?
So far, I get the coordinates via the following ugly expression:
[lindex [[atomselect top "index 25"] get {x y z}] 0]
when for instance I need the coordinates of the 26-th atom, but I
guess there must be a simpler and more readable form for getting the
same result.
Thank you in advance,
Enzo
- Next message: Leandro Martínez: "OFF drawing method"
- Previous message: Naser, Md Abu : "adding hydrogen atoms"
- Next in thread: John Stone: "Re: coordinates of an atom"
- Reply: John Stone: "Re: coordinates of an atom"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]