After adding a abstract control with
graph.addAbstractControl()
And I also need to promote the inputs of abstract control.
Thanks!
abs = graph.addAbstractControl(promote='x y', parmnames='one two', name='test') abs.updateNode(parms={'x':1, 'y':1})
william_harleyThat works! Thanks!
Hi, Its not possible to set the defaults using the addAbstractControls at the moment. For this you will have to use updateNode().
To promote the inputs set the promote and parmnames on the addAbstactControl. To do this, enter the channel you want to promote separated by a space. Parmnames should also be separated by a space, and will name the ports in the order that they are promoted.abs = graph.addAbstractControl(promote='x y', parmnames='one two', name='test') abs.updateNode(parms={'x':1, 'y':1})