print {*}.element.sort prints a sorted list of all chemical elements that occur in the loaded model.
1. How would I convert this to a list of the chemical elements in the loaded model (one line per element) and the atom count for each element? Perhaps as two arrays. Something like this, for 1d66: C 942 N 329 O 439 P 36 S 12 Cd 4 2. How do I get these arrays into javascript? I am familiar with Jmol.evaluate() but perhaps that only returns a single numeric value? Thanks, Eric ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users