Basically I am trying to import a fbx file, after making changes to its UV in an external program.
The code is basically:
mel.eval('doDelete;')
mel.eval('FBXImport -f "tmp.fbx";')
However, I noticed that if the UV window is not in focus, running this code will not update the UV window. I have to manually delete the entire scene and reload the modified file for the UV window to reflect the new changes.
Is there a way around this, or am I doing something wrong? Thanks!