Difference between revisions of "Disable"

From PyMOLWiki
Jump to navigation Jump to search
(added examples, improved description, added default='all')
Line 1: Line 1:
 
+
The '''disable''' command toggles off the display of all currently visible representations of an object.  It is the equivalent of deselecting the object in the list in the top panel of the [[Internal_gui|Internal GUI]].
'''disable''' disables display of an object and all currently visible representations.
 
  
 
===USAGE===
 
===USAGE===
  disable name
+
  disable [name]
disable all
 
  
'''name''' is the name of an object or a named selection
+
; name
 +
:    the name of an object or a named selection (default="all")
  
 
===PYMOL API===
 
===PYMOL API===
 
<source lang="python">
 
<source lang="python">
cmd.disable( string name )  
+
cmd.disable( string name='all' )  
 
</source>
 
</source>
  
===EXAMPLE===
+
===EXAMPLES===
 
  disable my_object
 
  disable my_object
 +
disable (my_object1 or my_object2)
 +
disable my_object*
 +
disable
  
 
===SEE ALSO===
 
===SEE ALSO===

Revision as of 18:51, 11 April 2014

The disable command toggles off the display of all currently visible representations of an object. It is the equivalent of deselecting the object in the list in the top panel of the Internal GUI.

USAGE

disable [name]
name
the name of an object or a named selection (default="all")

PYMOL API

cmd.disable( string name='all' )

EXAMPLES

disable my_object
disable (my_object1 or my_object2)
disable my_object*
disable

SEE ALSO

Show, Hide, Enable