<div dir="ltr">There is a subpatch named WORKSPACE, I didn't include a screen print of it, but it's attached below. Like I said, it works as long as I only have one instance of "effect~" in my main patch. It's only when I have more than one, they overwrite each other.<div><br></div><div>I'm not sure what you mean by "locality", but I'm certainly willing to learn if someone can teach me.</div><div><br></div><div>Thanks.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 4, 2017 at 12:52 PM, baptiste chatel <span dir="ltr"><<a href="mailto:baptiste.chatel@gmail.com" target="_blank">baptiste.chatel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There should be a subpatch named WORKSPACE, which receives all messages sent to pd-WORKSPACE. Also, you should learn about locality !<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-02-04 18:26 GMT+01:00 David <span dir="ltr"><<a href="mailto:dfkettle@gmail.com" target="_blank">dfkettle@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_extra">Hi!</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'm trying to create an "effects rack" in PD, with 8 slots for various effects and a grid of toggle switches to chain the effects together (see "EffectsRack.png", attached). It's working in it's current version, but I also wanted to be able to swap different effects in and out while the patch is running, since I have more that 8 different effects available. I found some examples of other people's attempts to create objects dynamically, and modified one of them to do what I want (see "Effect~.png", attached). The problem is that I can only create a single instance of "Effect~"  in the main patch. If I create more than one, as soon as I swap in a new effect to any one of the 8 slots, it overwrites whatever was in the other 7 slots.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I tried changing the name "pd-WORKSPACE" in the message, so I could give each work space a different name, but PD doesn't seem to recognize any name but "pd-WORKSPACE". Is this name somehow predefined in PD? Is there only one work space available to dynamically create objects? Is there a better approach that would let me do this?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">David Kettle.</div><div class="gmail_extra"><br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div>