This is a read-only mirror of pymolwiki.org

Difference between revisions of "Disable"

From PyMOL Wiki
Jump to navigation Jump to search
 
m (1 revision)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
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
   "name" is the name of an object or a named selection
+
:   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>
 +
 
 +
===EXAMPLES===
 +
disable my_object
 +
disable (my_object1 or my_object2)
 +
disable my_object*
 +
disable
  
===EXAMPLE===
 
    disable my_object
 
 
 
===SEE ALSO===
 
===SEE ALSO===
+
[[Show]], [[Hide]], [[Enable]], [[Suspend_updates]]
  [[Cmd show]], [[Cmd hide]], [[Cmd enable]]
 
  
[[Category:Commands|disable]]
+
[[Category:Commands|Disable]]
 +
[[Category:View Module|Disable]]

Latest revision as of 23:57, 20 May 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, Suspend_updates