How can I cunvert static mesh to instance static mesh?

I want to make editor utility widget for generate instance static mesh from static mesh in level.


When there are many meshes as shown in the photo, I would like to add an actor with instance static mesh to the level when I press the button in the editor utility wideget.
I don’t know much about BluePrint, so could you teach me how to make it?

This already exists. In UE5:

  1. After selecting multiple static meshes in level, Actor menu > Merge Actors > Merge Actors Settings…
  2. Merge Method > Batch

This exists in UE4 but I think under a different menu. I don’t have UE4 installed to confirm where it is.