Hi, I have a jmol script in which I want to set a value from [0, 1] for every atom, to be used exclusively for atom coloring. I know which value is assigned to each atom (obviously) and decided to store the values as 'partialCharge' and then color by that, since I don't think it is used for anything else. However when there are thousands of atoms, this can be quite slow - several seconds - to execute the several thousand {[ALA]32:A.N}.partialCharge=0.95; type commands.
My question is, is there a better way to do this? Would it be any faster to load them into an array and set them all at once somehow? Which scripting commands would I use and how would I map the values to the atoms they belong to in this case? If any more details are required let me know. Hope someone can advise. Regards, Howard -- ------------------------------ Howard Feldman Research Scientist Chemical Computing Group Inc. T.(514)393-1055 x144 | F.(514)874-9538 hfeld...@chemcomp.com | www.chemcomp.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers