How to use API(.swp) to add equations to a assembly file with a exsiting text file ?

Dear All Master Shi Fus,

I need to add a few equations to a assembly file with a exsiting text file, which is containing a few of equations.

By manually, it could be done, but how to let it automatically? That is why  I want to use API to make it done.

However, recording the macro could not record the procedures when I did it manually.

So could you advice me how to program it ?

thanks a lot

regards

Vincent

SolidworksApi macros