Table of Contents

Commands

PyMOL contains an overwhelming number of commands, so we recommend that you first learn the core set of commands and then expand outward from there as your needs dictate.

A complete alphabetical list of commands is also available, and the concept of a command is also discussed.

See also: http://pymol.org/pymol-command-ref.html

Input, Output, & Organization

load | save | order | group

Colors & Rendering

color | set_color | bg_color | recolor | space | spectrum | ramp_new | draw | ray | png | mpng

Settings and Configuration

set | unset | get | set_bond | unset_bond | reinitialize | full_screen | stereo | button | mouse | config_mouse | feedback

Molecular Representations

show | hide | color | label | spectrum | cartoon | scene | ramp_new

View Control

zoom | orient | origin | center | view | mview | scene | get_viewport

Alignment, Superposition, & Matrices

align | pair_fit | fit | rms | rms_cur | intra_fit | intra_rms | intra_rms_cur | matrix_copy | matrix_reset

Measurements

distance | angle | dihedral

Crystallography

load | isodot | isomesh | isolevel | symexp | stereo

Potentials and Isosurfaces

load | isodot | isomesh | isosurface | isolevel | map_new | slice_new | ramp_new | gradient

Movies

mset | madd | mdo | mappend | mview | frame | count_frames | count_states | forward | backward | rewind | middle | ending | mmatrix | mpng

Scripting

@ | run | spawn | abort | skip | python | alias | embed | load_embedded

Molecular Editing & Chemistry

remove | rotate | translate | drag | set_dihedral | edit | torsion | cycle_valence | alter | alter_state | fragment | bond | attach | h_add | h_fill | h_fix | fix_chemistry | redo | undo

Molecular Sculpting (Experimental / Unsupported)

sculpt_activate | sculpt_deactivate | sculpt_iterate | sculpt_purge

Deprecated, Unsupported, or Rarely Useful Commands

multisave | dump | cls | splash | check