set
Assigns a PyMOL setting value at the intended level and reports ignored level mismatches as errors with correct alternatives.
Instructions
Sets a PyMOL setting to a specified value.
Settings live at a level — global, object, object-state, atom or bond — and PyMOL ignores a
value stored below its setting's level. cartoon_tube_radius on a residue range is
stored per atom and never drawn; ray_shadow on an object is never read. PyMOL only
warns about that, so this reports it as an error, with what to do instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The value as a string, e.g. "0.5", "1", "black". | |
| setting | Yes | PyMOL setting name, e.g. "cartoon_transparency", "ray_shadow", "sphere_scale". Hundreds exist; see the PyMOL settings reference. | |
| selection | No | Limit the setting to this object or selection. Omit to set it globally. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |