Custom Parameter styleCloneImmune Bug

Windows 10, build 2019.15840

I came upon this bug when I tried to do the following:
Given how one custom parameter changes, I want to clamp another custom par’s maximum value to something less than the parameter that changed. While I am at it, I want to generate a list of toggles in another two custom pages.

The problem I ran into before was the clones of this base COMP, will inherit the clamp max change, but that’s it. With help from Ivan, I found the styleCloneImmune property. After I added in the code to set this property to True in all the custom pars, the following happened.

When I change the triggering custom par, let’s call it Steps, my script will run, doing what I described above. The problem is that the cloned components some how magically got this new page called “Custom” and a bunch of toggles that wasn’t meant for it.

I included a project file demonstrating this effect. I also included a screenshot of the effect of this bug.

Please let me know if you have any questions.
Thank you.

Da.


Base Clone Custom Pars.toe (4.21 KB)