Re: [PyMOL] List of Groups

2009-12-21 Thread Jason Vertrees
David, I think groups are treated like objects (see "help group"). So, one can type print cmd.get_names("objects") and all the objects (proteins, groups, etc) will be returned. For example: group a group b group c print cmd.get_names("objects") The problem is that other objects will

[PyMOL] List of Groups

2009-12-21 Thread David Hall
How would someone get the list of groups in a pymol session? get_object_list doesn't have them and the only commands I can find in cmd that have the word "group" in them seems to be group and ungroup (if my quick regex search worked right). Thanks, David