<?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=Set</id>
	<title>Set - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Set"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set&amp;action=history"/>
	<updated>2026-07-09T06:22:57Z</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=Set&amp;diff=9790&amp;oldid=prev</id>
		<title>Bell: 8 revisions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set&amp;diff=9790&amp;oldid=prev"/>
		<updated>2014-03-28T03:49:43Z</updated>

		<summary type="html">&lt;p&gt;8 revisions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
[[set]] is one of the most utilized commands.  PyMOL representations, states, options, etc. are changed with '''set'''.  Briefly, [[set]] changes one of the PyMOL state variables.  Currently there are over ''600'' [[:Category:Settings|PyMOL settings]]!&lt;br /&gt;
&lt;br /&gt;
=USAGE=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# set '''name''' to '''value'''&lt;br /&gt;
set name, [,value [,object-or-selection [,state ]]]&lt;br /&gt;
&lt;br /&gt;
# alternative way to do the above.&lt;br /&gt;
set name = value  # (DEPRECATED)&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.set ( string name, &lt;br /&gt;
    string value=1,&lt;br /&gt;
    string selection='',&lt;br /&gt;
    int state=0,&lt;br /&gt;
    int updates=1,&lt;br /&gt;
    quiet=1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= EXAMPLES =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set surface_color, red&lt;br /&gt;
&lt;br /&gt;
set ray_trace_mode, 3&lt;br /&gt;
&lt;br /&gt;
set ribbon_width, 4&lt;br /&gt;
&lt;br /&gt;
# set the label size to 2Ang.&lt;br /&gt;
set label_size, -2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=NOTES=&lt;br /&gt;
The default behavior (with a blank selection) changes the global settings database.  If the selection is 'all', then the settings database in all individual objects will be changed.  Likewise, for a given object, if state is zero, then the object database will be modified.  Otherwise, the settings database for the indicated state within the object will be modified.&lt;br /&gt;
 &lt;br /&gt;
If a selection is provided, then all objects in the selection will be affected. &lt;br /&gt;
=SEE ALSO=&lt;br /&gt;
[[Get]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Set]]&lt;br /&gt;
[[Category:Settings|Set]]&lt;br /&gt;
[[Category:States|Set]]&lt;/div&gt;</summary>
		<author><name>Bell</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Set&amp;diff=9788&amp;oldid=prev</id>
		<title>Vinnyrose at 14:25, 20 June 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set&amp;diff=9788&amp;oldid=prev"/>
		<updated>2009-06-20T14:25:08Z</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;
[[set]] is one of the most utilized commands.  PyMOL representations, states, options, etc. are changed with '''set'''.  Briefly, [[set]] changes one of the PyMOL state variables.  Currently there are over ''600'' [[:Category:Settings|PyMOL settings]]!&lt;br /&gt;
&lt;br /&gt;
=USAGE=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# set '''name''' to '''value'''&lt;br /&gt;
set name, [,value [,object-or-selection [,state ]]]&lt;br /&gt;
&lt;br /&gt;
# alternative way to do the above.&lt;br /&gt;
set name = value  # (DEPRECATED)&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.set ( string name, &lt;br /&gt;
    string value=1,&lt;br /&gt;
    string selection='',&lt;br /&gt;
    int state=0,&lt;br /&gt;
    int updates=1,&lt;br /&gt;
    quiet=1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= EXAMPLES =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set surface_color, red&lt;br /&gt;
&lt;br /&gt;
set ray_trace_mode, 3&lt;br /&gt;
&lt;br /&gt;
set ribbon_width, 4&lt;br /&gt;
&lt;br /&gt;
# set the label size to 2Ang.&lt;br /&gt;
set label_size, -2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=NOTES=&lt;br /&gt;
The default behavior (with a blank selection) changes the global settings database.  If the selection is 'all', then the settings database in all individual objects will be changed.  Likewise, for a given object, if state is zero, then the object database will be modified.  Otherwise, the settings database for the indicated state within the object will be modified.&lt;br /&gt;
 &lt;br /&gt;
If a selection is provided, then all objects in the selection will be affected. &lt;br /&gt;
=SEE ALSO=&lt;br /&gt;
[[Get]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Set]]&lt;br /&gt;
[[Category:Settings|Set]]&lt;br /&gt;
[[Category:States|Set]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Set&amp;diff=9786&amp;oldid=prev</id>
		<title>Slaw at 16:15, 20 May 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set&amp;diff=9786&amp;oldid=prev"/>
		<updated>2009-05-20T16:15:13Z</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;
[[set]] is one of the most utilized commands.  PyMOL representations, states, options, etc. are changed with '''set'''.  Briefly, [[set]] changes one of the PyMOL state variables.  Currently there are over ''600'' [[:Category:Settings|PyMOL settings]]!&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# set '''name''' to '''value'''&lt;br /&gt;
set name, [,value [,object-or-selection [,state ]]]&lt;br /&gt;
&lt;br /&gt;
# alternative way to do the above.&lt;br /&gt;
set name = value  # (DEPRECATED)&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.set ( string name, &lt;br /&gt;
    string value=1,&lt;br /&gt;
    string selection='',&lt;br /&gt;
    int state=0,&lt;br /&gt;
    int updates=1,&lt;br /&gt;
    quiet=1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
The default behavior (with a blank selection) changes the global settings database.  If the selection is 'all', then the settings database in all individual objects will be changed.  Likewise, for a given object, if state is zero, then the object database will be modified.  Otherwise, the settings database for the indicated state within the object will be modified.&lt;br /&gt;
 &lt;br /&gt;
If a selection is provided, then all objects in the selection will be affected. &lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Get]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|set]]&lt;br /&gt;
[[Category:Settings]]&lt;br /&gt;
[[Category:States]]&lt;/div&gt;</summary>
		<author><name>Slaw</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Set&amp;diff=9782&amp;oldid=prev</id>
		<title>Tree at 05:45, 21 February 2005</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set&amp;diff=9782&amp;oldid=prev"/>
		<updated>2005-02-21T05:45: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;
   &amp;quot;set&amp;quot; changes one of the PyMOL state variables,&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
   set name, [,value [,object-or-selection [,state ]]]&lt;br /&gt;
 &lt;br /&gt;
   set name = value  # (DEPRECATED)&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.set ( string name, string value=1,&lt;br /&gt;
             string selection='', int state=0,&lt;br /&gt;
              int updates=1, quiet=1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
===NOTES===&lt;br /&gt;
   The default behavior (with a blank selection) changes the global&lt;br /&gt;
   settings database.  If the selection is 'all', then the settings&lt;br /&gt;
   database in all individual objects will be changed.  Likewise, for&lt;br /&gt;
   a given object, if state is zero, then the object database will be&lt;br /&gt;
   modified.  Otherwise, the settings database for the indicated state&lt;br /&gt;
   within the object will be modified.&lt;br /&gt;
 &lt;br /&gt;
   If a selection is provided, then all objects in the selection will&lt;br /&gt;
   be affected. &lt;br /&gt;
 &lt;br /&gt;
[[Category:Commands|set]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
</feed>