<?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=Extract</id>
	<title>Extract - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Extract"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Extract&amp;action=history"/>
	<updated>2026-06-04T20:32:01Z</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=Extract&amp;diff=7302&amp;oldid=prev</id>
		<title>Pyadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Extract&amp;diff=7302&amp;oldid=prev"/>
		<updated>2014-03-28T02:00:39Z</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;=DESCRIPTION=&lt;br /&gt;
'''[[extract]]''' removes the atom selection from an object and creates it as its own object.  This allows one to gain independent control over atoms in a scene by ''extracting'' them from the original object.  For example, one can extract the hetero-atoms to their own object for independent manipulation.&lt;br /&gt;
&lt;br /&gt;
=USAGE=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
extract name, selection [, source_state [, target_state ]]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EXAMPLE=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# create the new hets object from all the hetero-atoms.&lt;br /&gt;
extract hets, het&lt;br /&gt;
&amp;lt;/source&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.extract(name, selection, source_state, target_state)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=SEE ALSO=&lt;br /&gt;
[[create]]&lt;/div&gt;</summary>
		<author><name>Pyadmin</name></author>
	</entry>
</feed>