How could get the API behind this "Make Static Mesh"button,I want to use UE5.1 to automatically batch export the static mesh corresponding to each frame of the animation

How can I use UE5.1 to automatically batch export the static mesh corresponding to each frame of the animation?

solved