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 <mailmd2...@gmail.com> 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. ------------------------------------------------------------------------------ _______________________________________________ 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