This is a read-only mirror of pymolwiki.org

Unset

From PyMOL Wiki
Revision as of 03:05, 1 March 2021 by Cchem (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

unset behaves in two ways.

If selection is not provided:

  • Since PyMOL 2.5: Changes the named global setting to the default value.
  • Before PyMOL 2.5: 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 ]]

Python API

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

See Also