In Python, use R3 without prefix ba. (ex: Generated script for particle position offset has a mistake)
On adding a particle offset the python code generated in the GUI contains R3
method instead of ba.R3
, for example
particle_1_position = R3(-1.5*nm, 0*nm, -0.5*nm)
instead of
particle_1_position = ba.R3(-1.5*nm, 0*nm, -0.5*nm)
Edited by Mikhail Svechnikov