Hi Daniel,
This problem has been tackled several times, maybe have a look at the following URLs, it might help you getting started: http://www.rubor.de/bioinf/tips_python.html#msdist http://sourceforge.net/mailarchive/message.php?msg_id=2914266 And also dont forget the search feature of the PyMOL Mailing List: http://sourceforge.net/search/?type_of_search=mlists <http://sourceforge.net/search/?type_of_search=mlists&forum_id=60&group_id=4 546&words=cmd.distance> &forum_id=60&group_id=4546&words=cmd.distance Cheers, Greg -----Original Message----- From: pymol-users-ad...@lists.sourceforge.net [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Daniel Hasenpusch Sent: lundi, 8. août 2005 20:51 To: pymol-users@lists.sourceforge.net Subject: [PyMOL] multi distance object to single distance objects Hi, I used the distance command: cmd.dist(" (/mol1///1/C)","(/mol1///2/C*)"). In pymol it creates a new distance object with all distances from C in Residue 1 to every C in Residue 2. How can I split this object to single distance objects? Or there are better possibilities because I want to write the distances into an extra file, but I only get the last distance as result. Thanks in advance, Daniel