In fact, my goal is :
- select elements in scene
- change its location and rotation, with sliders in an UI
- save locations and rotations, original and changed, of the selected element
- drop it back to initial position and rotation
- select another one…
Like the inspecting action your code does, but with the transform settings choosed runtime by users.
Do you could indicate a way to change your code for that.