Exposing Editor Layout Loading to Scripting API

Hello,

I’m not sure if this is the right place for feature requests, but I wanted to bring up something we’ve run into while building editor automation tools.

We’re currently limited by the fact that many Unreal Editor UI actions are private in code. Layout handling in particular is quite restricted - not only in the Python API, but also in C++, since most of the logic lives in the private class FLayoutsMenuLoad (Editor/MainFrame/Private/Menus/LayoutsMenu.h).

Would it be possible to expose the layout loading functionality in a future release so it can be called from Python and/or C++? Being able to load editor layouts programmatically would make automation workflows much smoother for us.

Thanks for considering it.

Best,

Josef

Hi Josef.

Thanks for reaching out, I have logged your request in our internal Jira, and brought it up with the development team.

Kind regards,

Basil

Hi Josef, we currently do not have plans to expose layouts and styling to scripts, and do plan to keep these implementations private. These are often loaded only once on startup, so cannot be modified at runtime for all cases. If you have any uses of public APIs that are not script exposed, you could create a plugin that exposes the functionality you need to scripts in that way.

We’ll keep the request in the case we are able to do a full audit of those edge cases and our plans change :slight_smile:

Thank you!

JS