Surface mode

From PyMOLWiki
Revision as of 12:41, 15 February 2014 by Speleo3 (talk | contribs) (move usage to top)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets how PyMOL draws the surface. The default, surface_mode=0 does not include the heteroatoms within the surface; setting it to 1, does include them. See the example images.

Usage

set surface_mode, int

where int is one of the following values:

  • 0: Default mode, surfacing with respect to flags.
  • 1: Surface everything, including HET and hydrogens
  • 2: Surface only heavy atoms
  • 3: Surface only visible
  • 4: Surface visible and heavy

Examples

# make the above images, or something like them
fetch 2v72, async=0
color wheat
color marine, het
show surface

# default
set surface_mode, 0

# non default
set surface_mode, 1