hi forum people :))
I am developing a custom C++ dll, and noticed (mostly inspecting a POP to DAT) that unset output attributes do not automatically “hide” inside the network, and instead I have to manually re-init the CPP instance and call Free GPU Memory to make them disappear (sometimes crashing TD).
An example to better understand the issue: the custom node makes some calculations and outputs them as a point attribute named “Result”. I add a UI param toggle that is checked before setting that output attribute. If the toggle is false, when observing the OP from the network the attribute still appears, only its values are frozen to the last computed ones. I assume builtin operators have this functionality, uhm, built in.
Same happens if I copy/pass-through all input attributes, and toggle the functionality via the “Common > Delete Input Attributes” parameter (which can be retrieved as inputs->getParInt(“delinputattrs”) != 0;).
Is there a way around this?
tysm :))