User Tools

Site Tools


media:jymol_cmd.get

get Command

  • get(setting, selection, state) Gets one of JyMol's built-in settings.

Arguments

setting is the name of a JyMol setting.

selection can either be empty for getting global settings or a name-pattern-list or atom selection covering the objects whose settings are to be returned.

state is the state number (default 0).

Examples

jymol.cmd.get("bg_rgb")

returns the background color as a float[] with 3 numbers RGB.

jymol.cmd.get("mouse_selection_mode")

returns the mouse selection mode as an integer (since this mode is stored in PyMOL as an integer which refer to selection modes: Atoms(0), Residues(1), Chains(2), Segments(3), Objects(4), Molecules(5), and C-alphas(6)).

See Also

get() works the same way as the PyMOL command get in the PyMOL api.

media/jymol_cmd.get.txt · Last modified: 2013/08/19 21:00 (external edit)