A Callback for "Missing Files" error popup
oppai-man
Posts: 56
Hey Guys,
When I open .duf scene with invalid references, I get this popup.
I want Daz to call one Daz Script that I wrote and pass the exact content from the popup to my script that will try to find the correct references.
Is that possible?
Comments
No, but if you look for missing product in the change log here http://docs.daz3d.com/doku.php/public/software/dazstudio/4/change_log#4_15_0_16 you will find that information is being sent to the log if the -logMissingProduct switch is enabled via the command line when launching in the current public builds.
Edited to insert command line switch
I figured out a more complex but more powerful solution.
My solution was a Python program to read the .duf file as a JSON file and look for all the textures, uv_sets, geometries and morphs that are being used, and check if they can be reached. If one of these files can't be reached, then opening the scene is very liked to trigger a "Missing Files" dialog.