Hi Robert, you got the levels right.
The cmd.get method actually doesn't support querying atom level settings, even though you can set them with cmd.set. Atom settings are not state specific, unless you have a discrete object. Scenes do not store settings, so using spectrum_states overrides scene colors. Hope that helps. Cheers, Thomas On Jun 3, 2013, at 8:34 AM, Robert Hanson <hans...@stolaf.edu> wrote: > I'm trying to understand settings. I see that there are at least these levels > of settings: > > - global > - object > - state > - unique atom/bond > > Are there more? > > I'm unclear on when one overrides another. It looks to me that the general > "getSetting" methods have the option of up to three levels of settings, but > there are four here. > > Thus, for example: > > If I have unique settings for a bond and then apply the sort of script that > Sid recently was interested in, that might change stick_color, would that > unique bond setting be overridden? > > If a state's color is set using Spectrum_states.py, does that override > already-set scene colors? Or is it incorporated into defined scenes then? -- Thomas Holder PyMOL Developer Schrödinger Contractor ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net