is there an equivalent of Ctrl-A in python to reset the values of an object for the transform panel?
Thanks
is there an equivalent of Ctrl-A in python to reset the values of an object for the transform panel?
Thanks
import Blender
import BPyNMesh
obj = Blender.Object.Get("MyObject")
BPyNMesh.ApplySizeAndRotation(obj)
That should do it