Move a group of static meshes connected by a constraint

Hi everyone,
i am trying to move a static mesh connect by another one with a constraint. I am trying to move one (A) via scripting and let the constraint handle the second one (B). All works when everything is not moving. But as soon as i apply a translation on A , it seems that the constraint i put stop working, and all i can see is that B act like a normal physic actor. Am i doing something wrong? (I’m new here so sorry for my bad Knowledge and English too)
Thanks