Re: [PyMOL] measuring distances in recent versions

2012-02-21 Thread Jason Vertrees
Hi Tom, > I am prone to using "Ctrl-X" to measure the distance between two > selected atoms (also, angles and dihedrals).   Has this keystroke been > eliminated in recent versions? All the CTRL-keys have been remapepd to CTRL+SHIFT+key. The CTRL-keys now act more like a word processor, but for at

RE: [PyMOL] measuring distances

2003-01-08 Thread DeLano, Warren
Tara, Use Python (and the run command with .py files). from pymol import cmd f=open('dist.txt','w') dst=cmd.distance('tmp','mol1///25/ha','mol1///26/ha') f.write("%8.3f\n"%dst) f.close() You could measure the whole protein this way by putting a loop around the distance command: from pymol impo