Difference between revisions of "Mask"

From PyMOLWiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
 
"mask" makes it impossible to select the indicated atoms using the
+
'''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.
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===
Line 9: Line 6:
  
 
===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]]
+
[[unmask]], [[protect]], [[deprotect]]
  
[[Category:Commands|mask]]
+
[[Category:Commands|Mask]]

Latest revision as of 15:35, 28 August 2015

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

unmask, protect, deprotect