Hi,
We are looking to automate the process of offsetting keys and sections of a level sequence in python. Everything seems to work OK but unfortunately, we can’t seem to access the constraints track and section.
How do we access the constraints track and sections via Python?
Please see a stripped down snippet of code we are using to traverse through the bindings of the level sequence.
I have also attached an image of the track and section we can’t seem to access via python.
Thanks
import unreal
def offset_frames(level_sequence, offset):
for binding in level_sequence.get_bindings():
print(binding.get_display_name())
for track in binding.get_tracks():
print(track.get_display_name())
for section in track.get_sections():
print(section)
for channel in section.get_all_channels():
print(channel)
selected = unreal.EditorUtilityLibrary.get_selected_assets()
for s in selected:
offset_frames(s, 100)
[Attachment Removed]