Hide: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
m (Cmd hide moved to Hide: Removing the old cmd prefix.)
No edit summary
Line 41: Line 41:


===SEE ALSO===
===SEE ALSO===
[[Cmd show]], [[Cmd enable]], [[Cmd disable]]
[[Show]], [[Enable]], [[Disable]]


[[Category:Commands|hide]]
[[Category:Commands|hide]]

Revision as of 17:17, 6 November 2007

DESCRIPTION

hide conceals atom and bond representations for a certain selection or other graphical objects like distances.

The available representations are:

  • lines
  • spheres
  • mesh
  • ribbon
  • cartoon
  • sticks
  • dots
  • surface
  • labels
  • nonbonded
  • nb_spheres

USAGE

hide representation [,object]
hide representation [,(selection)]
hide (selection)

PYMOL API

cmd.hide( string representation="", string selection="")

EXAMPLES

# hides all lines
hide lines,all

# hides all ribbons
hide ribbon

# hides all distances
hide dashes

# hides sticks in protA and all residues that aren't in the range of 40-65
hide sticks, protA and not i. 40-65

SEE ALSO

Show, Enable, Disable