Adding to my previous answer, keep in mind that PyMOL, by default, uses the camera to interpret the vector. Therefore, if you change your window view, this vector will change. You can specify the "camera" variable (by using, for example "translate [100,0,0], obj2, camera=0") so that the vector is relative to the model's axes instead.

Le 25/11/2016 12:37, Rui Sousa a écrit :
Hello Sajeewa,

The translate command uses angström as a unit. Therefore, if you want to translate obj2 by 10 nm, you should use "translate [100,0,0]" instead of "translate [10,0,0]".

Best regards,

Rui

Le 25/11/2016 12:04, Sajeewa Pemasinghe a écrit :
Hello everyone,

I have a linear molecule (obj1) which I have duplicated (obj2). I want to move obj2 (which is currently 100% overlapped with obj1) with respect to obj1 along the x axis by 10 nm. Can I achieve this by

translate [10,0,0] , obj2

I don't know what the distance units are in the vector used in translate command.

Is there a much better way of achieving what I have described?

Best regards,

Sajeewa


------------------------------------------------------------------------------


_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page:https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives:http://www.mail-archive.com/pymol-users@lists.sourceforge.net


------------------------------------------------------------------------------
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to