VMD-L Mailing List
From: mason H (tailermason_at_gmail.com)
Date: Fri Oct 10 2014 - 12:58:47 CDT
- Next message: Maxim Belkin: "Re: set tcl/tk variable from "get resname" command"
- Previous message: John Stone: "Re: Haptic interface options"
- Next in thread: Maxim Belkin: "Re: set tcl/tk variable from "get resname" command"
- Reply: Maxim Belkin: "Re: set tcl/tk variable from "get resname" command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
hello,
I would like to set a variable with a resname from a protein residue.
I can easily do
set sel1 [atomselect top "segname SegA and resid 101"]
and I can do
[atomselect top "segname SegA and resid 101"] get resname
to get the resname
.But how can I get something like this to work:
set myResVariable [atomselect top "segname SegA and resid 101"] get
resname
Thank you
- Next message: Maxim Belkin: "Re: set tcl/tk variable from "get resname" command"
- Previous message: John Stone: "Re: Haptic interface options"
- Next in thread: Maxim Belkin: "Re: set tcl/tk variable from "get resname" command"
- Reply: Maxim Belkin: "Re: set tcl/tk variable from "get resname" command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]