Sorry, but MeshMagic can only work on STL, 3DP, 3DS, 3MF, OBJ, and PLY files. You might need a different API for such a conversions.
NCH Software is always interested in improving our existing programs and developing new programs. If you have an idea you'd like to share with us, please submit your suggestion here: https://www.nch.com.au/suggestions/