It has been a while but I found how to set an origin. I created an actor, made my “myproceduralmesh” child of an actor. Then added a “Movement Component” to that actor. Apperently the “Movement Component” has a pivot point. That let me to my final solution of rotating the mesh.