Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bpy
- #exports some info from NLA editor in text, like strip names, start and length || by Teh_Bucket
- names = []
- theData = []
- nlaStrips = bpy.context.object.animation_data.nla_tracks[0].strips
- #gets all the info and puts it in theData and names
- for i in range(0, len(nlaStrips)):
- names.append(nlaStrips[i].name)
- theData.append([nlaStrips[i].frame_start, nlaStrips[i].frame_end])
- for i in range(0, len(names)):
- print(i,names[i])
- for i in range(0, len(theData)):
- print(theData[i][0], theData[i][1])
Advertisement
Add Comment
Please, Sign In to add comment