How to run the merge actors tool in C++?

Hello,

I have an instanced static mesh blueprint that uses multiple instanced static mesh components to make an object. I can use the editor Merge Actors tool by right clicking and it does exactly what I need. The question I am getting stuck at is how to run that in C++, I have looked at the Merge Actors Module and also Mesh Utilities::Merge Static Mesh Components and Merge Actors. I am stumped as to how to run the Module in C++ or if it is one of the others I am supposed to use. I want to be able to do this in the editor using the new Editor Scripting, not at Runtime. Any help would be great!

So after looking for a while longer I found this video which does what I want. He has also nicely attached his github project for reference.

1 Like

Is there anyone that has a similar code for unreal 5?