On 02/01/2012 12:01 AM, Takanori Nakane wrote: > Hi Abhinav and Jason, > >> The underlying C-object for a measurement does not support >> iterate/alter. This is rather silly; PyMOL should be able to tell you >> what's in the object. > > As an ad-hoc hack, I wrote a Python script to access internal C-object > of distance representation and convert it to atom name.
genius, I love it! Takanori, Looks like you've studied the output of cmd.get_session quite well. Would you mind to share some of your insights by putting documentation on http://pymolwiki.org/index.php/Get_session ? Thanks, Thomas -- Thomas Holder MPI for Developmental Biology Spemannstr. 35 D-72076 Tübingen ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ 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