Forums > MaxMSP

binding to pattr from inside poly~

November 25, 2006 | 11:28 am

Hi,

I want to bind to a pattr outside poly~ from inside poly~. This doesn’t seem to work. Does someone know a way to achieve this? Below is an example.

Cheers,
Mattijs

save as ‘bindtest’:

#P newex 23 82 26 9109513 print;
#N in 1;
#P newobj 23 40 23 9109513 in 1;
#P newex 23 61 40 9109513 pattr;
#X prestore 1 0 0;
#P objectname u996000648;
#P connect 0 0 2 0;
#P connect 1 0 0 0;

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 461 423 100 9109513 < -- this doesn't;
#P message 366 374 92 9109513 bindto parent::testor;
#N vpatcher 15 55 154 206;
#P inlet 20 33 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 20 72 26 9109513 print;
#P newex 20 51 40 9109513 pattr;
#X prestore 1 0 0;
#P objectname u752000644;
#P connect 2 0 0 0;
#P connect 0 0 1 0;
#P pop 1;
#P newobj 366 394 49 9109513 p bindtest;
#P objectname bindtest;
#P number 366 323 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 366 341 54 9109513 pattr testor;
#X prestore 1 0 0;
#P objectname testor;
#P message 366 423 92 9109513 bindto parent::testor;
#P newex 366 443 75 9109513 poly~ bindtest 2;
#P objectname bindTest;
#P comment 461 374 100 9109513 < -- this works;
#P connect 6 0 5 0;
#P connect 4 0 3 0;
#P connect 2 0 1 0;
#P window clipboard copycount 8;


November 25, 2006 | 8:28 pm

Ok, it appears this has been fixed in Max 4.6.2. My report concerned 4.5.7.

Sorry,
Mattijs


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