From: Thomas H. <tho...@sc...> - 2015-08-28 15:17:40
|
Hi Albert, Such a property transfer can be done with iterate and alter: stored.colors = {} iterate obj1, stored.colors[chain,resi,name] = color alter obj2, color = stored.colors.get((chain,resi,name), color) recolor Hope that helps. Cheers, Thomas On 28 Aug 2015, at 10:03, Albert <mai...@gm...> wrote: > Hello: > > I've colored object1 in various color in different regions. I am just > wondering how can we copy the color scheme for object1 to object2? > Object 2 is the same protein with object1 but with different conformations. > > Thank you very much > > Albert -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |