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 be returned, too. So, if you
don't use special naming for your groups, they will run together with
other objects.
-- Jason
--
Jason Vertrees, PhD
PyMOLWiki -- http://www.pymolwiki.org
On Mon, Dec 21, 2009 at 6:45 PM, David Hall <[email protected]> wrote:
> 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
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> PyMOL-users mailing list ([email protected])
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/[email protected]
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]