import unreal from unreal import LevelEditorSubsystem les = unreal.get_editor_subsystem(LevelEditorSubsystem) res = les.set_current_level_by_name("Sub")