Accessing COMP parameter pages from C++

Hi, I have a container COMP with a bunch of Pages/Params on it which i’m passing to a CPlusPlus CHOP via OP_ParameterManager::appendCOMP, however I can’t seem to find a way to then read those values on the C++ side. OP_Inputs has methods to retrieve TOPs and CHOPs etc, but no way to find a COMP (I tried getObject but it didn’t work either).

Is this something that’s possible?

Thanks,

A

It actually can only interact with Object COMPs (Geometry, Null etc), not Panel COMPs. You need to make copies of those parameters on the C++ CHOP, and use Binding to bind the COMP parameters to those parameters.

Ok, thank you. One final question, I assume I need to know the name of each parameter ahead of time on the C++ side as well? There doesn’t seem to be a way to query for pages / parameters dynamically in order to iterate them, short of potentially somehow injecting some python code and deserialising the parameter info that way?

Just for context I already have a pretty mature settings management system for my own C++ graphics/interaction engine so I’m trying to integrate runtime tweaking TD variables into that, but if the native SDK isn’t supposed to be poking around in that manner I can always move to a network based solution instead.

Thanks,

A