pattr, poly~ and bindto

Mar 9, 2006 at 11:18pm

pattr, poly~ and bindto

I tried to bind a pattr inside poly~ to an object in the parent patcher.
It does not seem to work (pattr: failed to bind to target). Am I missing
something? A special naming convention?

For my problem I found a workaround without pattr, but it would be nice…

Example below.

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 133 112 100 196617 < - Hallo;
#P comment 196 251 100 196617 < - this doesn't work;
#P number 86 307 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 48 250 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 84 110 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Hallo;
#P number 85 204 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 40 146 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 86 250 103 196617 bindto parent::Hallo;
#N vpatcher 261 234 514 483;
#P window setfont “Sans Serif” 9.;
#P number 108 144 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 108 63 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N out 1;
#P newobj 61 144 28 196617 out 1;
#P window linecount 0;
#N in 1;
#P newobj 61 63 28 196617 in 1;
#P outlet 91 144 15 0;
#P window linecount 1;
#P newex 91 102 44 196617 pattr ho;
#X prestore 1 0 48;
#P objectname ho;
#P inlet 91 63 15 0;
#P connect 1 0 4 0;
#P connect 0 0 1 0;
#P connect 3 0 1 0;
#P connect 5 0 1 0;
#P connect 1 0 2 0;
#P connect 1 0 6 0;
#P pop;
#P newobj 85 180 90 196617 p testpolypattr;
#P objectname “sub patch”;
#P newex 86 279 111 196617 poly~ testpolypattr 1;
#P objectname polytest;
#P number 84 82 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Holla;
#P message 85 146 103 196617 bindto parent::Holla;
#P window linecount 4;
#P comment 182 180 100 196617 < - save patcher as testpolypattr and
reinstantiate the poly~ below…;
#P window linecount 1;
#P comment 198 146 100 196617 < - this works;
#P comment 133 82 100 196617 < - Holla;
#P connect 11 0 5 0;
#P connect 7 0 5 0;
#P connect 5 0 12 0;
#P connect 8 0 6 0;
#P connect 3 0 6 0;
#P connect 6 0 9 0;
#P window clipboard copycount 15;

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09

#24811
Mar 14, 2006 at 8:51am

Thanks – I can reproduce. This may be a tricky problem, but I’ll see if
I can get it to work.

jb

#72319
May 18, 2006 at 10:23pm

Hi Stefan,

I send this publicly, as I suspect others might be interested.

The bug is in the Max application itself, and will not be fixed/fixable
in the 4.5.7 CFM release. So, thanks for your patience until the next
release.

Good luck with the monster -
jb

#72320

You must be logged in to reply to this topic.