<?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_Extent</id>
	<title>Get Extent - 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_Extent"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Extent&amp;action=history"/>
	<updated>2026-04-21T18:47:04Z</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_Extent&amp;diff=5975&amp;oldid=prev</id>
		<title>Pyadmin: 6 revisions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Extent&amp;diff=5975&amp;oldid=prev"/>
		<updated>2014-03-28T01:46:55Z</updated>

		<summary type="html">&lt;p&gt;6 revisions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
'''get_extent''' returns the minimum and maximum XYZ coordinates of a selection as an array:&lt;br /&gt;
&amp;lt;pre&amp;gt;[ [ min-X , min-Y , min-Z ],[ max-X, max-Y , max-Z ]]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typing this command returns the coordinates for all atoms. To return the coordinates of the default selection type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;get_extent sele&amp;lt;/pre&amp;gt;&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_extent(string selection=&amp;quot;(all)&amp;quot;, state=0 )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Get Extent]]&lt;br /&gt;
[[Category:States|Get Extent]]&lt;/div&gt;</summary>
		<author><name>Pyadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_Extent&amp;diff=5973&amp;oldid=prev</id>
		<title>Vinnyrose at 13:59, 20 June 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Extent&amp;diff=5973&amp;oldid=prev"/>
		<updated>2009-06-20T13:59:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:59, 20 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot; &gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Commands|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;get_extent&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Commands|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Get Extent&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:States]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:States&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|Get Extent&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_Extent&amp;diff=5972&amp;oldid=prev</id>
		<title>Cank at 21:49, 10 March 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Extent&amp;diff=5972&amp;oldid=prev"/>
		<updated>2009-03-10T21:49:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''get_extent''' returns the minimum and maximum XYZ coordinates of a selection as an array:&lt;br /&gt;
&amp;lt;pre&amp;gt;[ [ min-X , min-Y , min-Z ],[ max-X, max-Y , max-Z ]]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typing this command returns the coordinates for all atoms. To return the coordinates of the default selection type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;get_extent sele&amp;lt;/pre&amp;gt;&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_extent(string selection=&amp;quot;(all)&amp;quot;, state=0 )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|get_extent]]&lt;br /&gt;
[[Category:States]]&lt;/div&gt;</summary>
		<author><name>Cank</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_Extent&amp;diff=5969&amp;oldid=prev</id>
		<title>Tree at 05:59, 21 February 2005</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Extent&amp;diff=5969&amp;oldid=prev"/>
		<updated>2005-02-21T05:59:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;get_extent&amp;quot; returns the minimum and maximum XYZ coordinates of a&lt;br /&gt;
   selection as an array:&lt;br /&gt;
    [ [ min-X , min-Y , min-Z ],[ max-X, max-Y , max-Z ]]&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_extent(string selection=&amp;quot;(all)&amp;quot;, state=0 ) &lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|get_extent]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
</feed>