SHARE
TWEET

Untitled

a guest Jun 18th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import bpy
  2. for a in bpy.data.actions:
  3.     for fc in a.fcurves:
  4.         if "location" in fc.data_path:
  5.             a.fcurves.remove(fc)
  6.  
  7. ob = bpy.context.object
  8. for pb in ob.pose.bones:
  9.     pb.location = (0, 0, 0)
  10.  
  11. bpy.ops.object.transform_apply(scale=True)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top