This is a read-only mirror of pymolwiki.org

Set

From PyMOL Wiki
Revision as of 05:45, 21 February 2005 by Tree (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DESCRIPTION

  "set" changes one of the PyMOL state variables,

USAGE

  set name, [,value [,object-or-selection [,state ]]]

  set name = value  # (DEPRECATED)

PYMOL API

   cmd.set ( string name, string value=1,
             string selection='', int state=0,
              int updates=1, quiet=1)

NOTES

  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.

  If a selection is provided, then all objects in the selection will
  be affected.