Get

From PyMOLWiki
Revision as of 14:31, 17 November 2009 by Inchoate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

get returns the value of a setting.

This command is very useful for determining the any setting(s) when writing a script. For example, with this command you can find out if the background is opaque, where the light source is, etc.

USAGE

get name [, selection [, state ]]

Examples

get opaque_background

get line_width

PYMOL API

print cmd.get(string name, string object, int state, int quiet)

Notes

  • The API command will not print out and should be stored or used for comparison
  • "get" currently only works with global, per-object, and per-state settings. There is currently no way to retrieve per-atom settings.

SEE ALSO

Set