|
From: Thomas H. <tho...@sc...> - 2013-04-11 07:41:22
|
Hi Wilson, interesting question and actually there is no command to control this. Howevery, it's possible, there is a setting which doesn't have a name. In the latest 1.6alpha, you can do: # reset color cycle cmd.set(239, 0) In older PyMOL versions, this should work: # reset color cycle _cmd.set(cmd._COb, 239, (2, (0,)), '', -1, 1, 0) Some related notes: - "auto" and "current" are color names which correspond to the cycle - You can also disable the color cycling: set auto_color, off Cheers, Thomas Wilson Omesiete wrote, On 04/10/13 09:03: > I noticed that the default carbon color for loaded objects is set to > cycle from green to pink and then repeat to differentiate models. I have > a lot of models being loading and deleted within one session, and it > would be very useful to be able to reset that cycle, So that the first > model after a reset will have green carbons, the second will have cyan > carbons, and so on. This way my coloring patterns would be consistent. > > The reset function does not affect the cba* cycle, and I know that I > could manually call the cba* variants after every file is loaded to > force this functionality, but I would rather avoid that if possible. -- Thomas Holder PyMOL Developer Schrödinger Contractor |