Hi Janek, You want:
cmd.get_object_list() For instance, I sometimes want to align a whole lot of things, which I do with: /for i in cmd.get_object_list(): cmd.align( i, reference ) Hope it helps, Tsjerk On Fri, Feb 27, 2009 at 3:44 PM, Jan Kosinski <[email protected]> wrote: > Hi, > > I wish to iterate over all objects in my pymol session and for each > execute some command. Is it possible to do that using pymol commands? > > I could do that using python script but: How can I get a list of current > objects? > > Cheers, > Janek > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > PyMOL-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pymol-users > -- Tsjerk A. Wassenaar, Ph.D. Junior UD (post-doc) Biomolecular NMR, Bijvoet Center Utrecht University Padualaan 8 3584 CH Utrecht The Netherlands P: +31-30-2539931 F: +31-30-2537623
