<?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=Extend_%28selection_operator%29</id>
	<title>Extend (selection operator) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Extend_%28selection_operator%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Extend_(selection_operator)&amp;action=history"/>
	<updated>2026-04-14T22:19:17Z</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=Extend_(selection_operator)&amp;diff=12832&amp;oldid=prev</id>
		<title>Bell: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Extend_(selection_operator)&amp;diff=12832&amp;oldid=prev"/>
		<updated>2015-08-14T17:32:01Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:32, 14 August 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Bell</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Extend_(selection_operator)&amp;diff=12831&amp;oldid=prev</id>
		<title>Speleo3: created / moved from extend page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Extend_(selection_operator)&amp;diff=12831&amp;oldid=prev"/>
		<updated>2015-08-05T17:56:47Z</updated>

		<summary type="html">&lt;p&gt;created / moved from extend page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;padding: 10px 0 10px 20px; font-style: italic&amp;quot;&amp;gt;&lt;br /&gt;
This page is about a selection operator. For the API function with the same name, see [[extend]].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The selection operator '''extend''' is part of the PyMOL selection language and grows an atom selection based on covalent bonds.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
 s1 extend X&lt;br /&gt;
&lt;br /&gt;
Where '''s1''' is a selection expression and '''X''' is the number of bonds.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The behavior is illustrated on residue 64 of PDB file 1KAO where we initially select one atom and then &amp;quot;extend&amp;quot; that selection by one and three covalent bonds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1 cellspacing=0&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;select (resi 64 and name CZ)&amp;lt;/source&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;[[Image:Extend0.png|250px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;select (resi 64 and name CZ) extend 1&amp;lt;/source&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;[[Image:Extend1.png|250px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;select (resi 64 and name CZ) extend 3&amp;lt;/source&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;[[Image:Extend3.png|250px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Selection Algebra]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Selecting]]&lt;/div&gt;</summary>
		<author><name>Speleo3</name></author>
	</entry>
</feed>