From: michaelmorgan937_at_gmail.com
Date: Fri Jun 10 2022 - 00:02:39 CDT

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.