I’m finding that it’s not possible to add an animation clip to a track in sequencer via python. Has anyone else tried this? I am able to create a level sequence, add a track for a character, add a skeletal mesh animation track, add a section to that track… But not add actual animation to it. Here’s my working code up to that point:
I’m finding that it’s not possible from Python to add sequencer tracks for camera properties (like focal length) or particle systems toggle tracks. Has anyone found a way to do either?
tried to use the API this week and couldn’t make it work. I tried some of the examples in “Engine\Plugins\MovieScene\SequencerScripting\Content\Python” and not sure they are working.
When I create a LevelSequence and list the attributes using the dir() function, I don’t see any of the functions listed in the API doc.
I looked at the LevelSequence.h file and looks like the functions are maybe missing decorators if I compare to EditorLevelLibrary.h where the functions have a UFUNCTION(BlueprintCallable, Category = “Editor Scripting | Level Utility”) decorator.
I tried to add the decorator to the LevelSequence::GetMovieScene() function and then to recompile the code and I was able to see it in the LevelSequence attributes.
Looks like we are still missing some stuff to play with LevelSequences using python.
There’s a youtube channel by Alex Quevillon with tutorials on how to do this. I basically copied his scripts and they seem to work. (if you’re pasting this, double check for typos and indents)