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.

Bob
------------------------------------------------------------------------------
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

Reply via email to