A problem with table and poly~

peripatitis's icon

It's one of these days again ...
I am facing the following problem for which i am sure i had solved it before :)

Is it possible to create a table outside a poly~ object and
then refer to it by name inside the various instances in order to read from it ?
I've tried both using the name of the table within the poly~ as well as sending a refer message to it without however any success .
In this situation i don't want to have the table saved first .
I am pretty sure i am doing something wrong but for some reason i can't seem to find what the problem is .

cheers

Greg

volker böhm's icon

On 15 Oct 2008, at 14:10, Greg wrote:
>
> It's one of these days again ...
> I am facing the following problem for which i am sure i had solved
> it before :)
>
> Is it possible to create a table outside a poly~ object and
> then refer to it by name inside the various instances in order to
> read from it ?
> I've tried both using the name of the table within the poly~ as
> well as sending a refer message to it without however any
> success .
> In this situation i don't want to have the table saved first .
> I am pretty sure i am doing something wrong but for some reason i
> can't seem to find what the problem is .
>

it's not clear from your post, what the problem is. you might like to
send a patch.
using a named table works fine here on max4.6
volker.

/* save as polyTable */

Max Patch
Copy patch and select New From Clipboard in Max.

/* main patch */

Max Patch
Copy patch and select New From Clipboard in Max.

peripatitis's icon

Hi Volker
Here is the patch ,
It is quite messy but i indicated where the table i am trying to access is within the grain~ subpatch .

/ save as Grain~ /

Max Patch
Copy patch and select New From Clipboard in Max.

/the main patch /

Max Patch
Copy patch and select New From Clipboard in Max.

Thanks for your help

Greg

peripatitis's icon

In this simple example everything seems to work fine , also in 4.6 ...

/ save as something /

Max Patch
Copy patch and select New From Clipboard in Max.

/ the main patch /

Max Patch
Copy patch and select New From Clipboard in Max.

cheers

G

volker böhm's icon

On 15 Oct 2008, at 15:07, Greg wrote:
>
> Hi Volker
> Here is the patch ,
> It is quite messy but i indicated where the table i am trying to
> access is within the grain~ subpatch .

without going into details, i think you have a naming conflict here.
you should be careful not to choose the same names for tables, colls
etc. and send/receive addresses.

choosing a name like 'mySteps' and using that same name for the table
inside the poly~ seems to work in the 'messy' patch you have posted.
hth,
volker.

peripatitis's icon

Thanks a lot for you valuable help Volker
Your suggestion solved problem :)

cheers

Greg