Is there a macro for updating XYZ curve ?

Hello,

I have a wing profil design by a XYZ curve. The points of the curve are coming from a txt file. But the curve isn't really linked to the file so when i modify this file, the curve is not updated. Is there a macro that can update the curve by "re-linking" it to the file ?

Thanks for your help.

SolidworksApi/macros