From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Fri Feb 26 2010 - 13:24:30 CST

On Fri, Feb 26, 2010 at 1:24 PM, Reid Van Lehn <rvanlehn_at_gmail.com> wrote:
> Hello,
> I have a script which draws a series of vectors (drawn using the draw
> triangle and draw line commands) at points located radially away from a
> center location. They are drawn with radial symmetry at defined angles.
> What I would like to do is write another script to automatically rotate just
> these drawn vectors by a given angle around the same center point, without
> changing the positions of any atoms in the simulation. I know that if the
> vectors were atoms I could use the "move" command on an atomselection in
> conjunction with a rotation matrix, but I do not know how to do this with
> graphics objects as it is my understanding that they cannot be selected with
> atomselection commands.
> Can you please tell me how to either:
> A) Select graphics objects with atomselect, permitting rotation with the
> move command, or

this is not possible.

> B) Retrieve the x, y, and z coordinates of existing graphics so I can
> implement rotation manually.

not possible either.

> If there are other solutions I would love to know!

you can draw the graphics and atom data into separate
molecules and then keep one of them fixed and rotate
the other.

cheers,
   axel.

> Thank you very much,
> Reid

-- 
Dr. Axel Kohlmeyer    akohlmey_at_gmail.com
http://sites.google.com/site/akohlmey/
Institute for Computational Molecular Science
Temple University, Philadelphia PA, USA.