I have a script that can send the script settings to the .blend as ID values. When the script is loaded up, it looks for ID values and then automatically imports the values to the script if they are present.
The issue:
If a new version of the script has new ID values that the old script doesn’t have, and the ID values were sent to the .blend with the old script, the new script will crash when trying to auto-import the values because the ID values in the .blend don’t have the newly added values.
Does anyone know how I could tell the script to ignore importing ID values to the script that the .blend doesn’t have? I was looking into some general python dictionary usages, but I couldn’t find something this specific.
Here is the script if you are interested.