I set by “SetWPR”.It will be set when call but it will be reset to zero automatically after.
_application.World.Components.Last().TransformationInWorld.SetWPR(
new Vector3(Convert.ToDouble(Rxyz[0]), Convert.ToDouble(Rxyz[1]), Convert.ToDouble(Rxyz[2])));
Matrix is a struct type, which means TransformationInWorld getter returns a copy of the transformation matrix. Therefore, you have to assign it back after modifying: