Difference between revisions of "Unset"

From PyMOLWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
 +
'''unset''' behaves in two ways.
 
   
 
   
  "unset" behaves in two ways.
+
If selection is not provided, unset changes the named global setting to a zero or off value.
 
  If selection is not provided, unset changes the named global
 
  setting to a zero or off value.
 
 
  If a selection is provided, then "unset" undefines
 
  object-specific or state-specific settings so that the global
 
  setting will be in effect.
 
 
   
 
   
 +
If a selection is provided, then "unset" undefines object-specific or state-specific settings so that the global setting will be in effect.
 +
 
===USAGE===
 
===USAGE===
   
+
  unset name [,selection [,state ]]
  unset name [,selection [,state ]]
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.unset ( string name, string selection = '',
+
cmd.unset ( string name, string selection = '',
            int state=0, int updates=1, int log=0 )  
+
        int state=0, int updates=1, int log=0 )  
</source>
+
</source>
  
 
[[Category:Commands|unset]]
 
[[Category:Commands|unset]]

Revision as of 00:39, 15 June 2005

DESCRIPTION

unset behaves in two ways.

If selection is not provided, unset changes the named global setting to a zero or off value.

If a selection is provided, then "unset" undefines object-specific or state-specific settings so that the global setting will be in effect.

USAGE

unset name [,selection [,state ]]

PYMOL API

cmd.unset ( string name, string selection = '',
         int state=0, int updates=1, int log=0 )