Hi everyone :)!
I am working on a script that is supposed to help the user making changes to subtools based on visibility (e.g. apply color to all subtool, rename visible subtools,…)
To check the visibility I used the “mod-check” technique described by marcus_civis (thanks for the awesome help!)
Unfortunately I ran into a problem when combining [IModGet] with the rename function that came as part of the ZFileUtils. At some point the mod of the subtools gets messed up.
Here a little gif that illustrates that behavior (the number is the mod of the current subtool).
I also talked with Nick Miller (awesome guy!) on Polycount about this. His best guess was, that probably the DLL is causing the problem.
Now I have come here to ask, if one of you knows of a different reason that might have caused this, or if there is a way to fix the DLL (if broken).
Here is a link to the plugin if you want to see for yourself:
https://drive.google.com/open?id=0B9kN79m1QbR7QmRTek5JbXJYVlE