As

From PyMOLWiki
Revision as of 10:50, 28 March 2008 by Inchoate (talk | contribs) (New page: == DESCRIPTION == as turns on and off atom and bond representations, where the available representations are the usual: *lines *spheres *mesh ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DESCRIPTION

as turns on and off atom and bond representations, where the available representations are the usual:

USAGE

as representation [, selection ]

ARGUMENTS

  • representation = lines, spheres, mesh, ribbon, cartoon, sticks, dots, surface, labels, extent, nonbonded, nb_spheres, slice, extent, slice, dashes, angles, dihedrals, cgo, cell, callback, everything
  • selection = string {default: all}

EXAMPLES

 
# show the backbone as lines
as lines, name ca or name c or name n

# show everything as a ribbon
as ribbon

PYMOL API

 
cmd.show_as(string representation, string selection)

NOTES

  • selection can be an object name
  • as alone will turn on lines and nonbonded and hide everything else.

SEE ALSO

show, hide, enable, disable, All PyMOL Representations

References

  • PyMOL Source code