Setting abstraction arguments when creating the object

neuwirthe's icon

Given ab abstraction myabs with two inlets
is there a way to create the abstraction object with
the first argument given in the object field?

Something like creating an object
myabs 11

such that inlet 1 of myabs gets 11 as value and this object
has only one input slot which is used for the second inlet?

TFL's icon

You'll find your answers in this page in the doc.

Roman Thilenius's icon

you could script-create/delete the first inlet object inside the abstraction based on argumetns from outside, but i would never delete the first inlet - a dynamic number of inlets should only affect the rightmost inlets. all compiled externals do it this way, too.