way to get actor by world outliner path

Is there a way to get actor by world outliner path, for example, /a/b/Mesh01. I want to check whether an actor exists in world outliner, then modify some property or delete it.

I found an API may be useful, get_actor_reference, but tha parameter path doesn’t look like the path in world outliner.
https://docs.unrealengine.com/5.1/en-US/PythonAPI/class/EditorActorSubsystem.html?highlight=get_actor_reference#unreal.EditorActorSubsystem.get_actor_reference

How to get AActor with world outline path ? py or cpp.

Hi @liyangyang0901!

To add onto this- these are the only nodes available related to the outliner name and path:

With some workarounds, you could use this for your purposes, though it wouldn’t exactly be clean. You could check the paths of actors in the world and compare it against your desired path to see if something already exists there.

As far as doing this through python… here are the available functions, however I don’t think these will help you get any closer to your solution. Search — Unreal Python 4.27 (Experimental) documentation