Hi Bradley,

if your group is named "mygroup", then do the following:

print cmd.get_object_list('(mygroup)')

Cheers,
  Thomas

On Wed, Feb 16, 2011 at 12:19 AM, Bradley Hintze
<[email protected]> wrote:
> Hi all,
> I know that you can get ALL pymol object names by running cmd.get_names()
> but if you have objects in a group is there a way to get just the names of
> the objects under that group?
> Thanks,
> Bradley
>
> --
> Bradley J. Hintze
> Graduate Student
> Duke University
> School of Medicine

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]

Reply via email to