<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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">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/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>