This is a read-only mirror of pymolwiki.org

Difference between revisions of "Mask"

From PyMOL Wiki
Jump to navigation Jump to search
 
m
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
+
'''mask''' makes it impossible to select the indicated atoms using the mouse.  This is useful when you are working with one molecule in front of another and wish to avoid accidentally selecting atoms in the background.
  "mask" makes it impossible to select the indicated atoms using the
+
 
  mouse.  This is useful when you are working with one molecule in
 
  front of another and wish to avoid accidentally selecting atoms in
 
  the background.
 
 
 
===USAGE===
 
===USAGE===
   
+
  mask (selection)
  mask (selection)
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">  
+
<source lang="python">
  cmd.mask( string selection="(all)" )
+
cmd.mask( string selection="(all)" )
</source>
+
</source>
  
 
===SEE ALSO===
 
===SEE ALSO===
+
[[Cmd unmask]], [[Cmd protect]], [[Cmd deprotect]], [[Cmd mouse]]
  [[Cmd unmask]], [[Cmd protect]], [[Cmd deprotect]], [[Cmd mouse]]
 
  
[[Category:Commands|mask]]
+
[[Category:Commands|Mask]]

Revision as of 14:14, 20 June 2009

DESCRIPTION

mask makes it impossible to select the indicated atoms using the mouse. This is useful when you are working with one molecule in front of another and wish to avoid accidentally selecting atoms in the background.

USAGE

mask (selection)

PYMOL API

cmd.mask( string selection="(all)" )

SEE ALSO

Cmd unmask, Cmd protect, Cmd deprotect, Cmd mouse