VMD-L Mailing List
From: 本村肇 (h-motomura_at_bioreg.kyushu-u.ac.jp)
Date: Tue Dec 19 2017 - 01:56:45 CST
- Next message: Ashar Malik: "Re: How can I measure bond length with “name ** and resid **" in scripts?"
- Previous message: sumit nagar: "Re: Using python interpreter with VMD"
- Next in thread: Ashar Malik: "Re: How can I measure bond length with “name ** and resid **" in scripts?"
- Reply: Ashar Malik: "Re: How can I measure bond length with “name ** and resid **" in scripts?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear all,
I would like to measure bond length with “name ** and resid **” in scripts.
vmd > set seltext1 "name CG and resid 26”
vmd > set seltext2 "name CG and resid 30”
vmd > measure bond {$sel1 $sel2}
expected integer but got "$sel1" measure bond: bad atom index
However the following command succeed.
vmd > measure bond {113 140}
11.772942543029785
I configured that the above atoms existed.
How can I measure bond length with “name ** and resid **" in scripts?
Sincerely,
Hajime Motomura
- Next message: Ashar Malik: "Re: How can I measure bond length with “name ** and resid **" in scripts?"
- Previous message: sumit nagar: "Re: Using python interpreter with VMD"
- Next in thread: Ashar Malik: "Re: How can I measure bond length with “name ** and resid **" in scripts?"
- Reply: Ashar Malik: "Re: How can I measure bond length with “name ** and resid **" in scripts?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]