Hi~ Does anyone can help me figure out how to fix this problem. I use python to develop a sequence fuction,I try to using this script to create a attach section
#########
level_sequence = unreal.LevelSequenceEditorBlueprintLibrary.get_current_level_sequence()
bindings = level_sequence.get_bindings()
child = None
parent = None
for binding in bindings:
if binding.get_name() == 'Shot001_GRP':
child = binding
if binding.get_name() == 'Shot001_Transfrom':
parent = binding
attachTrack = child.add_track(unreal.MovieScene3DAttachTrack)
actAttachSection = attachTrack.add_section()
actAttachSection.set_range(-2, 400)
actID = unreal.MovieSceneObjectBindingID()
actID.set_editor_property(‘guid’, parent.get_id())
actAttachSection.set_editor_property(‘constraint_binding_id’, actID)
##########
This code can add a attach section very well,but when I put this child section to another sequence,the attach section’s binding object will be gone,I don’t know how to fix this problem.