How to attach or reattach actors in sequence via blueprint or python or C++?

Hi!
I figure out how to attach or reattach actors(Bindings) in Level Sequence via blueprint or python or C++?
I want to optimize editing hundreds of recorded sequence

I was trying a lot of method to do it, but can’t find working method

What I tryed:

  1. Python
    I was tryed to find way to attach via python(pic 1), but…

318804-1.jpg

but get this error in OutputLog
LogPython: Error: sectionConst = section.cast(unreal.MovieScene3DConstraintSection)
LogPython: Error: TypeError: MovieScene3DAttachSection: Cannot cast type ‘MovieScene3DConstraintSection’ to ‘MovieScene3DAttachSection’
I think it happens because “section” should has MovieScene3DConstraintSection type, but I also can’t cast section in Attach track to MovieScene3DConstraintSection because it has MovieScene3DAttachSection type.

2)BLUEPRINTS

I also tried to do this via blueprints

I created Editor Script, which get selected Level Sequence from Content browser, than get needed binding actor, than get add attach track and add attach section(I tried to cast section as AttachSection and ConstraintSection - both ways don’t work), and then “get the section and set constraint binding ID” usint “get sequence Binding” node (pic 2)

And I tryed to do this in another way that use “Get Binding” and “Make Binding ID” nodes(pic3), but it also doesn’t work and can’t set new Constraint binding ID(Attach actor to another actor)

If anybody has any suggetions please help me. I figure out 1 month around this issues and can’t get this to work.

Here is a simple project with my examples
[https://drive.google.com/file/d/1gdR...9u-HWzyAo/view][4]

Hi there, did you resolve this?
I’m currently trying to copy tracks/bindings from one level sequence to another with Blueprints. All other properties copy to my new attach track, it’s just the contraint binding ID that fails.

Just for others who may be struggling, I got it to work, at least in UE5.3 - I haven’t tested it in older versions.
The key is to get the Target object’s Movie Scene Binding Proxy (the object to which you want to attach the object containing the attach track). You feed this into the Get Binding ID function & it returns the Movie Scene Object Binding ID Structure that the Set Constraint Binding ID function needs. It looks like maybe the Movie Scene 3D Attach Section is a sub-class of the Movie Scene 3D Constraint Section, so it’s able to use the Set Constraint Binding ID method.