Subsections


pymol.command

Image pymol_icon Image edit-rename

Synopsis

Execute a user supplied PyMOL command.

Defaults

pymol.command(command=None)

Keyword arguments

command: The PyMOL command to execute.

Description

This allows PyMOL commands to be passed to the program. This can be useful for automation or scripting.

Prompt examples

To reinitialise the PyMOL instance, type:

[numbers=none]
relax> pymol.command("reinitialise")




The relax user manual (PDF), created 2020-08-26.