Recently Comp class gained the following feature in Build 2020.42700:
COMP Class - New methods
loadByteArray()for saving and loading .tox files directly to and from memory.
Is is possible to add two additional named arguments to the loadByteArray() function to achieve something like the following:
name=str : Manually specify the name of the newly created component, instead of using the name that would otherwise be loaded from the tox file.
overwrite=bool : Using the tox name (OR the string specified in
name if that named argument is used), if a component already exists in the target component with the same name, delete the existing base and create the new base in the same network location.
Both of these would be greatly helpful for systems with smaller sets of toxes that are repetitively unloaded and reloaded.