create an object inside bpatcher

jirko's icon

How can I create an object inside a embedded bpatcher?

//the bpatcher
obj = test.newdefault(40 ,40, "bpatcher", "test", "@args", 1);

Thanks!

jirko's icon

Nobody?

Maybe the questions is unclear.

In my main patch I need to make a bpatcher and I would like to create an object (number or button) inside.
How can I do that?