From: Jerry Ebalunode (jebalunode_at_uh.edu)
Date: Tue Sep 21 2004 - 04:38:01 CDT

Hi John,

How do you correctly use the vecdist command to evaluate previously declared
variables? When I use it get distances between atoms, I get a non-numeric in
first arguement " error
see my vmd log below

vmd > set i 0
0
vmd > set sel1 [atomselect top "index 9469" frame $i]
atomselect40222
vmd > set sel2 [atomselect top "index 11057"]
atomselect40223
vmd > set A1 [$sel1 get { x y } ]
{-19.0349998474 6.21299982071}
vmd > set B1 [$sel2 get { x y } ]
{-16.7100009918 6.54000043869}
vmd > set distA [ vecdist $A1 $B1]
vecsub: non-numeric in first argument
vmd > vecdist $A1 $B1
vecsub: non-numeric in first argument

 

-- 
Jerry Ebalunode
Ph.D. Candidate
RM 402F Houston Science Center
Phone: 713-743-8367
Dept. of Biology and Biochemistry
University of Houston
4800 Calhoun Road
Houston, TX 77204