pattr bindto from a subpatch

lodevalm's icon

Hello everyone!

I want to know if it is possible to bind a pattr object inside a sub patcher to an object placed in the main patcher...I cannot find any way to refer from a sub patcher to his "parent" in the tutorial manual or in the references manual.

I've got a number object called "mynum" and in a sub patcher called "saveops" a pattr:

pattr myvar @bindto mynum

this doesn't work (as I expected...) but maybe there is a way to get the "mynum" object from outside the patcher...

sorry for the english, I hope it's clear :-P

thanks a lot!

jln's icon
lodevalm's icon

thank you very much jln, it works!!!

It's very strange, the manuals are very good but I didn't find any reference to a parent object or keyword or argument.
Anyway, it is good to know that exists :-)

bye!