This is a read-only mirror of pymolwiki.org

Difference between revisions of "Suspend updates"

From PyMOL Wiki
Jump to navigation Jump to search
m (2 revisions)
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
  
 
===SEE ALSO===
 
===SEE ALSO===
[[Show]], [[Enable]], [[Disable]], [[Suspend_updates]]
+
[[Show]], [[Hide]], [[Enable]], [[Disable]]
 
 
  
 
[[Category:Settings]]
 
[[Category:Settings]]

Latest revision as of 23:57, 20 May 2014

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.

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

PYMOL API

cmd.set('suspend_updates', 'on')
cmd.set('suspend_updates', 'off')

SEE ALSO

Show, Hide, Enable, Disable