API Link Equations To External Text File

Hello,

I have a part file that contains equations linked to a text file, and would like to re-link it using a macro. The text file is constantly getting updated, so while I know how to update existing variables using "UpdateValuesFromExternalEquationFile()," I do not know how to have it re-link so newly defined variables are picked up. Can this be done?

Thanks,

Andrew

SolidworksApi macros