UE4-27 Create new folder with Python in the World Outliner

I’m writing a Python script to be run in the UE 4.27. How can I create a new folder in the World Outliner from a python script? Didn’t find anything related in the unreal.EditorLevelLibrary.

This is pretty late, but this should do the trick I think (I’m using 5 but I imagine the command is the same) unreal.Actor — Unreal Python 5.0 (Experimental) documentation

2 Likes

as to anyone who is new to the python scripting like i am:
that command automatically creates a new folder if none existing is found
the whole “only available in development builds” threw me off

1 Like