https://wiki.pymol.org/index.php?title=Set&feed=atom&action=historySet - Revision history2024-03-29T13:12:04ZRevision history for this page on the wikiMediaWiki 1.35.1https://wiki.pymol.org/index.php?title=Set&diff=9790&oldid=prevBell: 8 revisions2014-03-28T03:49:43Z<p>8 revisions</p>
<p><b>New page</b></p><div><br />
[[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]]!<br />
<br />
=USAGE=<br />
<source lang="python"><br />
# set '''name''' to '''value'''<br />
set name, [,value [,object-or-selection [,state ]]]<br />
<br />
# alternative way to do the above.<br />
set name = value # (DEPRECATED)<br />
</source><br />
<br />
=PYMOL API=<br />
<source lang="python"><br />
cmd.set ( string name, <br />
string value=1,<br />
string selection='',<br />
int state=0,<br />
int updates=1,<br />
quiet=1)<br />
</source><br />
<br />
= EXAMPLES =<br />
<source lang="python"><br />
set surface_color, red<br />
<br />
set ray_trace_mode, 3<br />
<br />
set ribbon_width, 4<br />
<br />
# set the label size to 2Ang.<br />
set label_size, -2<br />
</source><br />
<br />
=NOTES=<br />
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.<br />
<br />
If a selection is provided, then all objects in the selection will be affected. <br />
=SEE ALSO=<br />
[[Get]]<br />
<br />
<br />
[[Category:Commands|Set]]<br />
[[Category:Settings|Set]]<br />
[[Category:States|Set]]</div>Bellhttps://wiki.pymol.org/index.php?title=Set&diff=9788&oldid=prevVinnyrose at 14:25, 20 June 20092009-06-20T14:25:08Z<p></p>
<p><b>New page</b></p><div>=DESCRIPTION=<br />
[[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]]!<br />
<br />
=USAGE=<br />
<source lang="python"><br />
# set '''name''' to '''value'''<br />
set name, [,value [,object-or-selection [,state ]]]<br />
<br />
# alternative way to do the above.<br />
set name = value # (DEPRECATED)<br />
</source><br />
<br />
=PYMOL API=<br />
<source lang="python"><br />
cmd.set ( string name, <br />
string value=1,<br />
string selection='',<br />
int state=0,<br />
int updates=1,<br />
quiet=1)<br />
</source><br />
<br />
= EXAMPLES =<br />
<source lang="python"><br />
set surface_color, red<br />
<br />
set ray_trace_mode, 3<br />
<br />
set ribbon_width, 4<br />
<br />
# set the label size to 2Ang.<br />
set label_size, -2<br />
</source><br />
<br />
=NOTES=<br />
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.<br />
<br />
If a selection is provided, then all objects in the selection will be affected. <br />
=SEE ALSO=<br />
[[Get]]<br />
<br />
<br />
[[Category:Commands|Set]]<br />
[[Category:Settings|Set]]<br />
[[Category:States|Set]]</div>Vinnyrosehttps://wiki.pymol.org/index.php?title=Set&diff=9786&oldid=prevSlaw at 16:15, 20 May 20092009-05-20T16:15:13Z<p></p>
<p><b>New page</b></p><div>===DESCRIPTION===<br />
[[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]]!<br />
<br />
===USAGE===<br />
<source lang="python"><br />
# set '''name''' to '''value'''<br />
set name, [,value [,object-or-selection [,state ]]]<br />
<br />
# alternative way to do the above.<br />
set name = value # (DEPRECATED)<br />
</source><br />
<br />
===PYMOL API===<br />
<source lang="python"><br />
cmd.set ( string name, <br />
string value=1,<br />
string selection='',<br />
int state=0,<br />
int updates=1,<br />
quiet=1)<br />
</source><br />
<br />
===NOTES===<br />
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.<br />
<br />
If a selection is provided, then all objects in the selection will be affected. <br />
===SEE ALSO===<br />
[[Get]]<br />
<br />
<br />
[[Category:Commands|set]]<br />
[[Category:Settings]]<br />
[[Category:States]]</div>Slawhttps://wiki.pymol.org/index.php?title=Set&diff=9782&oldid=prevTree at 05:45, 21 February 20052005-02-21T05:45:53Z<p></p>
<p><b>New page</b></p><div>===DESCRIPTION===<br />
"set" changes one of the PyMOL state variables,<br />
<br />
===USAGE===<br />
set name, [,value [,object-or-selection [,state ]]]<br />
<br />
set name = value # (DEPRECATED)<br />
<br />
===PYMOL API===<br />
<source lang="python"><br />
cmd.set ( string name, string value=1,<br />
string selection='', int state=0,<br />
int updates=1, quiet=1)<br />
</source><br />
===NOTES===<br />
The default behavior (with a blank selection) changes the global<br />
settings database. If the selection is 'all', then the settings<br />
database in all individual objects will be changed. Likewise, for<br />
a given object, if state is zero, then the object database will be<br />
modified. Otherwise, the settings database for the indicated state<br />
within the object will be modified.<br />
<br />
If a selection is provided, then all objects in the selection will<br />
be affected. <br />
<br />
[[Category:Commands|set]]</div>Tree