Forums > MaxMSP

pattr bindto from a subpatch

Mar 26 2008 | 11:47 pm

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!

Mar 27 2008 | 12:12 am

Mar 27 2008 | 12:35 am

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 :-)


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP