Hi all, in the scripting documentation the syntax for the 'translateSelected' command is described like this:
translateSelected {x y z} {atomSet} So the following example should work: translateSelected {1 1 1} {atomno=1} But it results in the following error message: script ERROR: bad argument count ---- translateSelected { 1 1 1 } { atomno = 1 } << I tried to go back to earlier Jmol versions but couldn't find any where it worked as described in the documentation. Tested versions are 14.3.12, 14.0.5, 13.3.8, 12.3.22, 11.6. Q: Is the actual syntax different or was it actually never implemented as described? The alternative Syntax without '{atomSet}' does work: select atomno=1; translateSelected {1 1 1} But I would like to avoid it because each selection command results in a script console output. And I have learned recently that the output speed in the script console depends heavily on the number of lines written there already. Even a few thousand lines slow down a single output into the range of seconds. So if I want to translate several thousand atoms individually it will take many seconds or even minutes instead of much less without the output in the console. 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 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users