Adding to Cart…
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2024 Daz Productions Inc. All Rights Reserved.You currently have no notifications.
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2024 Daz Productions Inc. All Rights Reserved.
Comments
As far as I know, though I'm not sure what could be used as a test. Make sure it is a duplicate IDs error, on pre-DS 4.5 content, that you want to fix - these days Duplicate Formula errors are more common, and they are completely different.
Two of the three links Richard are not functioning. Only Ken's!
The Dropbox link works for me.
Hi Richard,
I just discovered this thread to day because I was tired of hunting down the offending files, editing them, and re-testing. They keep popping up from time to time.
My question is, is there any harm in running your script on the current version of DAZ?
Brent
Not that I ama ware of, but are you actually getting a lot of Duplicate IDs still? That is a different issue from Duplicate Formulas.
DAZ Studio - Fix Duplicate IDs using Notepad++:
Go to Notepad++ menu : "Search-->Find" input the below given regex and select "Regular exptession" option in Serch Mode and press Replace or Replace All.
Find what : (?s-i)"id"\s*:\s*"([^"]+)".+"id"\s*:\s*\K"\1"
Replace with : "\1-1"
Result:
------
Before : "id" : "value"
After : "id" : "value-1"