Scripting knobs into a panel?
-
Say i have a collection of knobs in an external script and I want them in a panel, how can i script that ? Rather then having to do it manually?
-
I don't think you can, but it only takes a second to do manually. Just select all the knobs in the widget list and drag them under the panel.
-
@d-healey ok , was hoping i could script that and just keep as an external asset , but ok .
Thanks ! -
You might be able to set the parentComponent property of each knob in the script? Haven't tried it but that could work.
-
Oh yeah, like this - https://forum.hise.audio/topic/2908/add-knob-as-child-in-panel-script-solved
-
Exactly!