Solidworks drawing still display X, after change directory and replacereference

After I change the directory of solidworks model, solidworks drawing display X.

I use "swApp.ReplaceReferencedDocument" to update the rigth directory of model position, but it is stll X in the solidworks drawing. How I can correct it.

It's better not to open the file.

Best Regards!

SolidworksApi/macros