Hi, Once can see the current state of a multi-state object on the bottom right corner of a PyMOL window. How do get get the state number programatically? I cannot find a command that will return the current state of a multi-state object. I need the state information in order to save the current state into a SD file. Using "save test.sdf,selection=abc,state=-1" saves the first state of an multi-state object even thought the documentation states that using "state = -1" will save the current state. Using "save test2.sdf,selection=abc,state=6" does correctly saves the current state, which is 6. It would be great if some one can tell me how to get state via command line or a pymol script.
What is interesting is that "save test.pdb,selection=abc,state=-1" works. I think there is a bug in saving to a sd file. It would Thanks, JW ------------------------------------------------------------------- JW Feng Ph.D. Computational Chemistry and Cheminformatics Genentech, Inc. ------------------------------------------------------------------- Tel: 650-225-4529 Fax: 650-467-5155 feng...@gene.com -------------------------------------------------------------------
------------------------------------------------------------------------------ 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 (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