On 03/25/2015 02:24 PM, Robert Hanson wrote: > It's > > // translate [selected] X|Y|Z x.x [NM|ANGSTROMS] > // translate [selected] X|Y x.x% > > For example > > translate selected X 3.5 # angstroms assumed here > translate selected Y 50% > > So the atoms that are moving must be the ones already selected. > > I looked at the Jmol 11 code, where the command was introduced, and there > wasn't there; I have no idea where that option in the documentation comes > from. I've removed that from the documentation. It was supposed to just > read: > > translateSelected > > *Translates a specifed subset of atoms. All of the options for translate > <http://chemapps.stolaf.edu/jmol/docs/index.htm?ver=14.4#translate> are > available for translateSelected, which then operate only on the currently > selected atoms. * > *Examples:* select molecule=1 > translateSelected {0 0 1/1} > ​BUT, what is there and is not documented is that you can do this: > > translate {0 0 1/1} {atomno=3} > > So just take out the "selected" there and you will be fine. > Thanks Bob.
I thought that the major difference between 'translate' and 'translateSelected' was that 'translate' does't change the stored coordinates while 'translateSelected' does change them. Although it isn't mentioned explicitly in the documentation. If 'translate' can behave both ways it would be good to clarify the different behaviour of the command for different options in the documentation. 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