Hi Victor,
You can avoid writing/reading a file by using a StringIO object to emulate the file.  How to do that is described here:

http://plato.cgl.ucsf.edu/pipermail/chimera-users/2008-March/002447.html

Let me know if you have any problems.

--Eric

On Feb 21, 2012, at 9:08 AM, Victor Muņoz wrote:

Dear all,

I'm trying to make a script that draws an arrow on every atom and every frame during a trajectory using the MD movie. Right now, the script creates a .bild file to draw the arrows, but it is not a very good approach since it is creating a new file for every frame of the trajectory. I was wondering if there's a way to do the same thing without having to create the .bild file. 

I already checked the "shape" command but you canīt use it to draw an arrow. Maybe I should make a combination between a cylinder and a rectangle to draw an arrow? Is there any other easy way to do that?

Thanks in advance. Kind regards,
--


_______________________________________________
Chimera-users mailing list
Chimera-users@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users