Hi Bradley, I don't think this is easily doable. (I recall doing something like this myself, but cannot find the code.) May I suggest you read (copy/paste) the following, which may help you with groups and naming:
# names with dots are treated special set group_auto_mode, 2 # load the example protein load $TUT/1hpv.pdb, 1hpv.other # create the new entry called ".protein" in group 1hpv extract 1hpv.protein, 1hpv.other and polymer # create ".ligand in the 1hpv group extract 1hpv.ligand, 1hpv.other and organic # supports wildcards show sticks, *.ligand hide lines, *.protein show surface, *.protein within 6 of *.ligand show lines, byres *.protein within 4 of *.ligand set two_sided_lighting set transparency, 0.5 set surface_color, white Also, to lexicographically sort the names in the control panel: order *, yes Hope this helps. Cheers, -- Jason On Tue, Feb 15, 2011 at 6:19 PM, Bradley Hintze <bradle...@aggiemail.usu.edu> 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 (PyMOL-users@lists.sourceforge.net) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net > -- Jason Vertrees, PhD PyMOL Product Manager Schrodinger, LLC (e) jason.vertr...@schrodinger.com (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ 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 (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net