<?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=Mdo</id>
	<title>Mdo - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Mdo"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Mdo&amp;action=history"/>
	<updated>2026-04-26T10:06:51Z</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=Mdo&amp;diff=8091&amp;oldid=prev</id>
		<title>Pyadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Mdo&amp;diff=8091&amp;oldid=prev"/>
		<updated>2014-03-28T02:16:31Z</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 02:16, 28 March 2014&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>Pyadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Mdo&amp;diff=8090&amp;oldid=prev</id>
		<title>Slaw at 20:41, 8 February 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Mdo&amp;diff=8090&amp;oldid=prev"/>
		<updated>2012-02-08T20:41:01Z</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;'''mdo''' sets up a command to be executed upon entry into the specified frame of the movie.  These commands are usually created by a PyMOL utility program (such as util.mrock).  Command can actually contain several commands separated by semicolons ';'&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 mdo frame : command&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.mdo( int frame, string command )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EXAMPLE===&lt;br /&gt;
 // Creates a single frame movie involving a rotation about X and Y&lt;br /&gt;
 load test.pdb&lt;br /&gt;
 mset 1&lt;br /&gt;
 mdo 1: turn x,5; turn y,5;&lt;br /&gt;
 mplay&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
//Show waters within 4 Angstroms around the first residue from a 15 frame simulation trajectory&lt;br /&gt;
load structure.pdb&lt;br /&gt;
load_traj structure.dcd, structure, start=1, stop=15&lt;br /&gt;
mset 1 -15&lt;br /&gt;
for a in range(1,16): cmd.mdo(a,&amp;quot;hide sphere; select waters, (structure &amp;amp; i. 1 around 4) &amp;amp; resn HOH, state=&amp;quot;+str(a)+&amp;quot;; show sphere, waters&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
The '''mset''' command must first be used to define the movie before &amp;quot;mdo&amp;quot; statements will have any effect.  Redefinition of the movie clears any existing mdo statements.&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Mset]], [[Mplay]], [[Mstop]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Mdo]]&lt;/div&gt;</summary>
		<author><name>Slaw</name></author>
	</entry>
</feed>