Yi, To stuff a bunch of identical object in one PDB file, you need to assign a unique segment ID to each one. For example:
load $PYMOL_PATH/test/dat/1tii.pdb symexp s,1tii,1tii,5 names=cmd.get_names() for a in range(len(names)): cmd.alter(names[a],"segi="+str(a)) save multi.pdb Cheers, Warren -- Warren L. DeLano, Ph.D. Principal Scientist . DeLano Scientific LLC . 400 Oyster Point Blvd., Suite 213 . South San Francisco, CA 94080 USA . Biz:(650)-872-0942 Tech:(650)-872-0834 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:war...@delsci.com > -----Original Message----- > From: pymol-users-ad...@lists.sourceforge.net > [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of yi zhang > Sent: Sunday, July 24, 2005 8:43 PM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] (no subject) > > Hi, everyone, > > I used symexp command in pymol to generate symmetry-related > molecule, something like: > > cmd.symexp('sym', 'obj', 'obj',10 ) > > of course, I can manually save each symmetry-related molecule > to *.pdb file by clicking save molecule button, but how can I > write a script to save all of them or part of them? the > symmetry-related objects are not appendable. > > thanks! > > yi > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection > around http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users > > >