Suspend updates: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(Created page with 'When set, Suspend_Updates stops PyMOL from updating the GUI whenever changes are made. This can be used to mask multiple operations from the user to make it appear as if onl…')
 
No edit summary
Line 1: Line 1:
When set, [[Suspend_Updates]] stops PyMOL from updating the GUI whenever changes are made.  This can be used to mask multiple operations from the user to make it appear as if only one operation occurred.  See examples.
When set, [[Suspend_pdates]] stops PyMOL from updating the GUI whenever changes are made.  This can be used to mask multiple operations from the user to make it appear as if only one operation occurred.  See examples.


= Examples =
= Example =
<source lang="python">
<source lang="python">
load $TUT/1hpv.pdb
load $TUT/1hpv.pdb

Revision as of 21:53, 17 February 2010

When set, Suspend_pdates stops PyMOL from updating the GUI whenever changes are made. This can be used to mask multiple operations from the user to make it appear as if only one operation occurred. See examples.

Example

load $TUT/1hpv.pdb
set suspend_updates
# remove the waters
remove resn HOH
# the waters are still visible
# until we unset suspend_updates
#
# Now, to get UI responsiveness type
#
# unset suspend_updates