9Evgeny9
(9Evgeny9)
August 19, 2022, 10:37am
1
I can add Metahuman to my sequence (by Python).
But tracks “Body” and “Face” do not adding automatically.
To assign animation i must place them into “Body” and “Face” subtraks of Metahuman.
I can find “Body” component of my actor by
Body = MyActor.get_component_by_class(unreal.SkeletalMeshComponent)
The questions are:
How to add tracks as children of BP_EvgenyZ (by Python)? (What types of track are they?)
How to bind them to corresponding components(by Python)?
2 Likes
eDuderino
(eDuderino)
February 12, 2023, 8:21pm
2
Hi,
have you found a solution to this? I want to do the same thing; basically setting up a sequence with python with a MetaHuman in it and adding Animation Sequences to have a sequence playing something.
suguyoo
(suguyoo)
February 23, 2026, 3:45pm
3
I done this with below codes in UE5.6
level_sequence = unreal.load_asset(path_to_ls)
blueprint_asset = unreal.load_asset(path_to_bp)
ls_editor_subsystem = unreal.get_editor_subsystem(unreal.LevelSequenceEditorSubsystem)
char_top_binding_proxy = ls_editor_subsystem.add_spawnable_from_class(level_sequence, blueprint_asset.generated_class())