VMD-L Mailing List
From: lily jin (lily1907_at_yahoo.com)
Date: Tue Mar 21 2006 - 16:25:12 CST
- Next message: Sergio Anis: "Re: what is wrong with this script?"
- Previous message: lily jin: "distance tween two atoms"
- Next in thread: Sergio Anis: "Re: what is wrong with this script?"
- Reply: Sergio Anis: "Re: what is wrong with this script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
set sel1 [atomselect top {index 29953}]
  set sel2 [atomselect top {index 29957}]
  set coor1 [$sel1 get {x y z}]
  set coor2 [$sel2 get {x y z}]
  set d [vctdist $coor1 $coor2]
  puts $d
  
  When I run it, it says:
  "vecsub: non-numeric in first argument"
  
  aren't $coor1 and $coor2 vectors here? What should I do? Thanks
  
Lily
                
---------------------------------
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.
- Next message: Sergio Anis: "Re: what is wrong with this script?"
- Previous message: lily jin: "distance tween two atoms"
- Next in thread: Sergio Anis: "Re: what is wrong with this script?"
- Reply: Sergio Anis: "Re: what is wrong with this script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]



