This is a read-only mirror of pymolwiki.org
Difference between revisions of "Disable"
Jump to navigation
Jump to search
m |
m (1 revision) |
||
(6 intermediate revisions by 5 users not shown) | |||
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''' | ||
===USAGE=== | ===USAGE=== | ||
− | disable name | + | disable [name] |
− | |||
− | + | ; 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> | ||
− | === | + | ===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]] |
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