Python: Reference a C++ Class

Hi all,
I’m using Python to spawn a C++ class that derives from Actor.

How can I get a reference to my C++ class, so that I can pass it to spawn_actor?
I’ve been using unreal.EditorAssetLibrary.load_blueprint_class, but obviously that isn’t appropriate for C++ classes.

The closest thing I’ve found is unreal.load_class, but that requires that you pass the class’s outer… And I don’t THINK that uninstanciated classes have an outer… or do they?

Thanks in advance,

As answered by Jamie Dale on forums.unrealengine.com:

If the class is exposed to scripting, then it should just exist in the unreal namespace already, eg) unreal.MyClass

If it isn’t exposed to scripting then you can probably get it by name, eg) unreal.load_class(None, “/Script/YourModuleName.MyClass”)