Disable: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by 2 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''' 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===
[[Show]], [[Hide]], [[Enable]]
[[Show]], [[Hide]], [[Enable]], [[Suspend_updates]]


[[Category:Commands|Disable]]
[[Category:Commands|Disable]]
[[Category:View Module|Disable]]
[[Category:View Module|Disable]]

Latest revision as of 16:10, 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