Static Mesh cloneing Construction Script

I have been trying to make a construction script what will duplicate a object for modular design but I am running in to some problems when I am trying to get the static mesh reference to work with it. I want to use the static mesh so the user can pick the object they want to use other then making a direct reference to the object.
I can get it working when I make a direct reference to the object but not when I am trying to use static mesh reference

this works but only if you are directly referencing to the object

This shows the model but not working right it won’t allow you to make a copy of the object

any help would be really appreciated I have been trying to get this to work for a long time now

Ok got it working now

Would have been nice if you had posted how you got it working…

here you go