Hi Bob and others, the documentation isn't very clear about it but it seems that user-defined atom properties can only be floating point numbers but not strings, integer numbers or boolean values in Jmol 14.3.13_2015.04.08.
---- Examples ------- load =1deh; {atomno=1}.property_test1="string"; {atomno=1}.property_test2=5; {atomno=1}.property_test3=0.04; {atomno=1}.property_test4=false; print "test1=" + {atomno=1}.property_test1; print "test2=" + {atomno=1}.property_test2; print "test3=" + {atomno=1}.property_test3; print "test4=" + {atomno=1}.property_test4; --- Example Output -------- test1=NaN test2=5.0 test3=0.040000003 test4=NaN --------------------------- Q: Is there a specific reason why only floating point numbers seem to be possible or were the other types just not implemented (yet)? Regards, Rolf -- Rolf Huehne Postdoc Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI) Beutenbergstrasse 11 07745 Jena, Germany Phone: +49 3641 65 6205 Fax: +49 3641 65 6210 E-Mail: rhue...@fli-leibniz.de Website: http://www.fli-leibniz.de Scientific Director: Prof. Dr. K. Lenhard Rudolph Head of Administration: Dr. Daniele Barthel Chairman of Board of Trustees: Dennys Klein VAT No: DE 153 925 464 Register of Associations: No. 230296, Amtsgericht Jena Tax Number: 162/141/08228 ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers