Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pymel.core import *
- sl = selected()
- dataPath = "E:/"
- frames = open("{0}/frames.txt".format(dataPath), "r").readlines()
- moves = open("{0}/tx.txt".format(dataPath), "r").readlines()
- i = 0
- for f in frames:
- currentTime(int(f))
- move(sl[0],float(moves[i]),0,0)
- i += 1
Advertisement
Add Comment
Please, Sign In to add comment