iterate name, print chain,resi,name # or if you want to get really fancy, you can do something # where iterate calls another PyMOL method:
load $TUT/1hpv.pdb # NOTE the following text should all appear one line iterate A/50/CA around 5, print chain,resi,name,cmd.get_distance("A/50/CA","///%s/%s/%s"%(chain,resi,name)) Cheers, Warren > -----Original Message----- > From: pymol-users-boun...@lists.sourceforge.net > [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf > Of Wiktor Jurkowski > Sent: Wednesday, November 21, 2007 2:48 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] selection print out > > How to list residues within given selection? E.g. if I have selection: > select name, resi 134 around 4.0 > How to get details about atoms, residues which could be used > by extrenal code or just copied to text file? > Wiktor > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users