VMD-L Mailing List
From: Max (max_at_liaad.up.pt)
Date: Wed Apr 22 2009 - 06:09:16 CDT
- Next message: Axel Kohlmeyer: "Re: sys.argv, python and VMD"
- Previous message: Olaf Lenz: "Re: pbctools on alpha version"
- Next in thread: Rogan Carr: "Re: Select atoms using coordinates"
- Reply: Rogan Carr: "Re: Select atoms using coordinates"
- Reply: J. Rui Rodrigues: "Re: Select atoms using coordinates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi all,
I tried to select atom indexes from their coordinates (x) but I could not.
Am I doing anything wrong?
Here's an example:
>% set sel [atomselect 1 all]
atomselect32
>% set x [$sel get {x}]
-9.0 -8.36200046539 -9.02799987793 -10.0799999237 -9.35200023651
-10.7600002289 -10.4099998474 -12.0799999237 -11.1099996567 -13.029999733
-12.7399997711 -10.3599996567 -11.9200000763
Now I tried to select the atom index from one of its coordinates and got
nothing.
>% set p [atomselect 1 "x = -8.36200046539"]
atomselect33
>% $p get index
>%
Thanks
Max
- Next message: Axel Kohlmeyer: "Re: sys.argv, python and VMD"
- Previous message: Olaf Lenz: "Re: pbctools on alpha version"
- Next in thread: Rogan Carr: "Re: Select atoms using coordinates"
- Reply: Rogan Carr: "Re: Select atoms using coordinates"
- Reply: J. Rui Rodrigues: "Re: Select atoms using coordinates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]