How do I spawn a mesh from C++ blueprint code

Hi,

Newbie here, again. I have created a Blueprint plugin and have established very basic functionality (just issuing print statements from various functions I wire up in the blueprint event editor) and would like to have a mesh spawned (cube, cone, whatever…) from one of the functions. I understand that they all have to be static functions and I’ve tried using code I created for creating a cube in a C++ class but it doesn’t like that I make calls to non-static functions.

I am sure this can be done as it looks like the dropdown in the event editor provides a means for doing it.

Any suggestions as to where I might look or what functions I might call for this?

Thanks,
Sean