Hey, I’ve got a custom base that I’m using throughout my project in at least 14+ places and each one has references + binds on its custom parameters. I’ve made an update to the base by adding a new custom parameter to it and I’m hoping to be able to swap out the base in all the locations, but keep all the existing references + binds and wire connections.
I tried using the external.tox and Re-Init the network, but that breaks all the references / binds. (this makes sense because only the externalized tox’s references are saved).
A potential work around I’m thinking about is using an OP find, saving all the parameter data w/ getParInfo, externalizing all the bases to the same .tox, re-initng the network and then applying back the parameters w/ applyParInfo.
Any Pointers here? I’m hoping there’s a simpler solution.
Update with a potential solution. I’m still curious if there’s an easier way:
With the attached Copy_and_Apply_Par_Info.tox put in the name of the reused component (you should see a list of them displayed). In the example file I had 4 reused components called test, test1, test2, test3, so in the Name I used test* to get a reference to all of them.
Hit Capture ParInfo to cache all the references + binds.
Update the custom parameters of your component and save it as a .tox
Manually select all the your custom components, In the Common Tab, set External .tox to the path of the .tox you just saved.
Still in the Common Tab click the Re-Init Network button
Back in the Copy_and_Apply_Par_Info tox click the Pluse for Apply Par Info.
Select all the custom components and delete the path to the set External .tox in the Common Tab
All the custom components should be updated with your new parameter and should still have the same wires, binds and references.
I believe that if you go the external TOX route, de-selecting “reload custom parameters” toggle will allow you to retain the state of existing parameters upon reload/re-init, there could be some caveats when adding new ones though… i could be wrong with regard to modes other than constant mode, but give it a try!