Blueprint: how to add a static mesh exposed as variable

I want to create a Blueprint that creates generic arrays and patterns of any static mesh during construction script. AddStaticMeshComponent do not expose a node where to plug-in the static mesh exposed as a variable. It just offers the static mesh as parameter, but there I can only select an existing static mesh in content browser.

How to create a blueprint that exposes a static mesh as a variable so the same blueprint can be reused a lot of times just changing the static mesh it will use?

Thanks
Jan Herca

Have a look at this:

Hope that helps :slight_smile:

Thanks a lot, really useful!! Just use a default static mesh and then override with Set Static Mesh. That solves my problem.

Jan Herca