VMD-L Mailing List
From: Sergio Anis (sergioanis_at_ispwest.com)
Date: Tue Mar 21 2006 - 18:52:51 CST
- Next message: pinisetty dinesh: "euler angles"
- Previous message: lily jin: "what is wrong with this script?"
- In reply to: lily jin: "what is wrong with this script?"
- Next in thread: Jérôme Hénin: "Re: what is wrong with this script?"
- Reply: Jérôme Hénin: "Re: what is wrong with this script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
i think it is:
set d [vecdist $coor1 $coor2]
Sergio
lily jin wrote:
> 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
> <http://us.rd.yahoo.com/mail_us/taglines/PMall/*http://photomail.mail.yahoo.com>
> - it's free and works with Yahoo! Mail.
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 3/20/2006
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 3/20/2006
- Next message: pinisetty dinesh: "euler angles"
- Previous message: lily jin: "what is wrong with this script?"
- In reply to: lily jin: "what is wrong with this script?"
- Next in thread: Jérôme Hénin: "Re: what is wrong with this script?"
- Reply: Jérôme Hénin: "Re: what is wrong with this script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]