Thanks, that works!

Is there an API reference to pymol for non-sponsor users?


Tsjerk Wassenaar wrote:
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 <k...@genesilico.pl> 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
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users






Reply via email to