How can I export a procedural Mesh Component as Obj?

I’ve implemented a procedural mesh using the proceduralMeshComponent and now I would like to export this mesh as either an obj or FBX. How would I go about that? I know that you can export meshes but it seems it doesn’t work that way with procedural mesh component meshes. My procedurally generated mesh is attached as a component to an actor class extension I’ve created. The mesh is generated from a generateMesh() method that calls within the constructor of this actor class. So if I drag the c++ class into the world I see the mesh. It’s movable and selectable at this point. When I try to export it, I get a blank .obj file (when imported into Maya or Max).

I ended up writing a exporter using FFileHelper::SaveStringToFile();

v floatNumA floatNumB floatNumC
v floatNumA floatNumB floatNumC
v floatNumA floatNumB floatNumC

f 3 2 1

This covers vertices and faces.