From: Sergio Anis (sergioanis_at_ispwest.com)
Date: Tue Mar 21 2006 - 18:52:51 CST

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