<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Chill</id>
	<title>PyMOL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Chill"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Chill"/>
	<updated>2026-04-26T19:13:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Cache&amp;diff=928</id>
		<title>Cache</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Cache&amp;diff=928"/>
		<updated>2010-08-20T07:15:59Z</updated>

		<summary type="html">&lt;p&gt;Chill: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cache]] manages storage of precomputed results, such as molecular surfaces.&lt;br /&gt;
 &lt;br /&gt;
= Usage =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cache action [, scenes [, state ]]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
where, the arguments are:&lt;br /&gt;
&lt;br /&gt;
'''action'''&lt;br /&gt;
:: string: enable, disable, read_only, clear, or optimize&lt;br /&gt;
'''scenes'''&lt;br /&gt;
::string: a space-separated list of scene names (default: '')&lt;br /&gt;
'''state'''&lt;br /&gt;
::integer: state index (default: -1)&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cache enable&lt;br /&gt;
cache optimize&lt;br /&gt;
cache optimize, F1 F2 F5&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
= Notes =&lt;br /&gt;
&amp;quot;cache optimize&amp;quot; will iterate through the list of scenes provided (or all defined scenes), compute any missing surfaces, and store them in the cache for later reuse.&lt;br /&gt;
    &lt;br /&gt;
= API =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.cache(string action, string scenes, int state, int quiet) &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Chill</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Save&amp;diff=9626</id>
		<title>Save</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Save&amp;diff=9626"/>
		<updated>2008-05-22T12:14:48Z</updated>

		<summary type="html">&lt;p&gt;Chill: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''save''' writes selected atoms to a file.  The file format is&lt;br /&gt;
autodetected if the extesion is &amp;quot;.pdb&amp;quot;, &amp;quot;.pse&amp;quot;, &amp;quot;.mol&amp;quot;, &amp;quot;.mmod&amp;quot;, or&lt;br /&gt;
&amp;quot;.pkl&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
Note that if the file extension ends in &amp;quot;.pse&amp;quot; (PyMOL Session), the&lt;br /&gt;
complete PyMOL state is always saved to the file (the selection and&lt;br /&gt;
state parameters are thus ignored).&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
save file [,(selection) [,state [,format]] ]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
===PYMOL API===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.save(file, selection, state, format)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
* When saving a session file, then &amp;quot;state&amp;quot; has no effect.&lt;br /&gt;
* When state = 0 (default), only the current state is written.&lt;br /&gt;
* When state = -1, then a multi-state output file is written (PDB only).&lt;br /&gt;
&lt;br /&gt;
* In versions 1.XX, a multi-state output file is written when state = 0 (which is not default)&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
   [[Cmd load]], [[Cmd get_model]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|save]]&lt;/div&gt;</summary>
		<author><name>Chill</name></author>
	</entry>
</feed>