NLA Track & Strip methods #24763

Closed
opened 2010-11-17 02:12:57 +01:00 by Dan Eicher · 4 comments
Member

%%%Adds:

AnimData.nla_tracks.new(prev)

  • (optional) prev -- add new track after this track

AnimData.nla_tracks.remove(track)

AnimData.nla_tracks.active(track)

  • (optional) track -- track to set active
  • returns active track

NlaTrack.strips.new(name, start, action)
NOTE: fails if the strip can't fit in the track as opposed to the operator which will create a new track and add the strip to that.

  • name -- name for new strip
  • start -- start frame of new strip
  • action -- action to assign to strip

NlaTrack.strips.remove(strip)%%%

%%%Adds: AnimData.nla_tracks.new(prev) * (optional) prev -- add new track after this track AnimData.nla_tracks.remove(track) AnimData.nla_tracks.active(track) * (optional) track -- track to set active * returns active track NlaTrack.strips.new(name, start, action) NOTE: fails if the strip can't fit in the track as opposed to the operator which will create a new track and add the strip to that. * name -- name for new strip * start -- start frame of new strip * action -- action to assign to strip NlaTrack.strips.remove(strip)%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

%%%Needed a const char * to compile...%%%

%%%Needed a const char * to compile...%%%
Member

%%%Thanks for the patch. Committed in SVN!

As noted in the commit log, I've fixed the issue regarding the naming of the new strips.%%%

%%%Thanks for the patch. Committed in SVN! As noted in the commit log, I've fixed the issue regarding the naming of the new strips.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#24763
No description provided.