<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Get_Distance</id>
	<title>Get Distance - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Get_Distance"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Distance&amp;action=history"/>
	<updated>2026-09-17T12:04:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_Distance&amp;diff=7981&amp;oldid=prev</id>
		<title>Pyadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Distance&amp;diff=7981&amp;oldid=prev"/>
		<updated>2014-03-28T02:16:25Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
'''get_distance''' returns the distance between two atoms.  By default, the coordinates used are from the current state, however an alternate state  identifier can be provided.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 get_distance atom1, atom2, [,state ]&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 get_distance 4/n,4/c&lt;br /&gt;
 get_distance 4/n,4/c,state=4&lt;br /&gt;
&lt;br /&gt;
===PYMOL API===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.get_distance(atom1=&amp;quot;pk1&amp;quot;,atom2=&amp;quot;pk2&amp;quot;,state=0) &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Get Distance]]&lt;br /&gt;
[[Category:States|Get Distance]]&lt;/div&gt;</summary>
		<author><name>Pyadmin</name></author>
	</entry>
</feed>