VMD-L Mailing List
From: michaelmorgan937_at_gmail.com
Date: Fri Jun 10 2022 - 00:02:39 CDT
- Next message: René Hafner TUK: "Re: GPU-accelerated MSD calculation"
- Previous message: Max Win: "GPU-accelerated MSD calculation"
- Next in thread: Ashar Malik: "Re: simple script question"
- Reply: Ashar Malik: "Re: simple script question"
- Reply: Geist, Norman: "Re: simple script question"
- Reply: Arthur Pereira da Fonseca: "RES: simple script question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear all,
Can anyone instruct me how to pass a list from a result?
For example,
set sel [atomselect top all]
$sel get radius
will return a list of all atoms' radius, let's call it list_A.
Now if I want to pass this list back (just for practice purpose):
$sel set radius list_A
How to pass result of "$sel get radius" to a variable list_A and use it in
"set radius" command?
Thank you very much.
Michael M.
- Next message: René Hafner TUK: "Re: GPU-accelerated MSD calculation"
- Previous message: Max Win: "GPU-accelerated MSD calculation"
- Next in thread: Ashar Malik: "Re: simple script question"
- Reply: Ashar Malik: "Re: simple script question"
- Reply: Geist, Norman: "Re: simple script question"
- Reply: Arthur Pereira da Fonseca: "RES: simple script question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]