Re: [PyMOL] Reset Default Carbon Color

2013-04-11 Thread Wilson Omesiete
Thank you for your suggestion, Tsjerk Wassenaar, and thank you for your answer, Thomas Holder. Using _cmd.set(cmd._COb, 239, (2, (0,)), '', -1, 1, 0) ... Does exactly what I was looking for. On Thu, Apr 11, 2013 at 2:58 AM, Tsjerk Wassenaar wrote: > Hi Wilson, > > I don't know how to r

Re: [PyMOL] Reset Default Carbon Color

2013-04-11 Thread Thomas Holder
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.se

Re: [PyMOL] Reset Default Carbon Color

2013-04-10 Thread Tsjerk Wassenaar
Hi Wilson, I don't know how to reset the color scheme, but maybe something along the following lines can help out: # set the colors (change to your liking): colors = ("green","cyan","magenta","yellow") # create a color iterator: python def colit(): i = 0 while True: yield colors

[PyMOL] Reset Default Carbon Color

2013-04-10 Thread Wilson Omesiete
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 res