Hi Maia, Just use 'preset.function_name("(sele)")'. For example:
# fetch a protein, "1foo" fetch 1foo, async=0 # call b-factor-putty on "1foo" preset.b_factor_putty("(1foo)") Cheers, -- Jason On Mon, May 2, 2011 at 4:46 PM, Maia Cherney <mcher...@shaw.ca> wrote: > Dear Pymolers, > > I would like to be able to write a script with the a command that is > available in actions (preset, pretty). > > How to do that? > > Maia > -- Jason Vertrees, PhD PyMOL Product Manager Schrodinger, LLC (e) jason.vertr...@schrodinger.com (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net