vmd-python
3.0.1
Animate
Atomsel
Axes
Color
Display
Evaltcl
Graphics
IMD
Label
Material
Measure
Molecule
Molrep
Mouse
Render
Selection
Topology
Trans
Per-molecule transformations
vmd.trans.fix
vmd.trans.get_center
vmd.trans.get_rotation
vmd.trans.get_scale
vmd.trans.get_translation
vmd.trans.is_fixed
vmd.trans.is_shown
vmd.trans.set_center
vmd.trans.set_rotation
vmd.trans.set_translation
vmd.trans.show
Global transformations
VMD Callbacks
VMD Menu
VMD Numpy
vmd-python
Docs
»
Trans
»
vmd.trans.set_translation
View page source
vmd.trans.set_translation
¶
vmd.trans.
set_translation
(
)
¶
Set the translation of an individual molecule
Parameters:
molid
(
int
) – Molecule ID to set translation of
trans
(
list of 3 floats
) – New (x,y,z) translation for molecule