From: Nicolas B. <nic...@gm...> - 2011-05-20 17:20:23
|
Thanks. On 05/20/11 11:13, Jason Vertrees wrote: > Hi Nick, > > This is something Robert Campbell alluded to a few days ago. To get > what you want, the "python block" and "mdo" are you friends: > > # create an ala fragment and setup the view > > frag ala > as sticks > orient > > # 60-frame movie > > mset 1x60 > > # start a Python block that fades out the fragment > > python > for x in range(60): > cmd.mdo(x, "set_bond stick_transparency, %f, ala" % (x/60.)) > python end > > # play the movie > > mplay > > See: > * -- http://www.pymolwiki.org/index.php/Mdo > * -- http://www.pymolwiki.org/index.php/Python > > Cheers, > > -- Jason > > > On Fri, May 20, 2011 at 12:54 PM, Nicolas Bock <nic...@gm...> wrote: >> When I do the following >> >> hide all >> show sticks, all >> scene 001, store >> >> set_bond stick_transparency, 0.5, all >> scene 002, store >> >> scene 001 >> >> the stick_transparency setting is not restored. I was hoping I could use >> scenes to slowly fade out a part of a molecule by adding several scenes >> with increasing stick_transparency values. >> >> Thanks, nick >> >> >> ------------------------------------------------------------------------------ >> What Every C/C++ and Fortran developer Should Know! >> Read this article and learn how Intel has extended the reach of its >> next-generation tools to help Windows* and Linux* C/C++ and Fortran >> developers boost performance applications - including clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> _______________________________________________ >> PyMOL-users mailing list (PyM...@li...) >> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users >> Archives: http://www.mail-archive.com/pym...@li... >> > > > |