RE: [PyMOL] multi distance object to single distance objects

2005-08-10 Thread Warren DeLano
Dan, Sorry, that is not currently possible. In order to get individual distances, you need to create them one by one using a nested loop. Something like: for at1 in cmd.index("resi 10"): \ for at2 in cmd.index("resi 11"): \ cmd.dist(None, "%s`%d"%at1, "%s`%d"%at2) Cheers, Warren -- W

RE: [PyMOL] multi distance object to single distance objects

2005-08-10 Thread Grégori Gerebtzoff
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 don’t forget the ‘search’ feature o