<br><br><div class="gmail_quote">On Thu, Apr 24, 2008 at 7:03 PM, Luigi Rensinghoff &lt;<a href="mailto:luigi.rensinghoff@freenet.de">luigi.rensinghoff@freenet.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi List ....<br>
<br>
there is this well-written &quot;tips and tricks&quot; folder that desribes how<br>
to create objects/abstractions by sending messages.<br>
<br>
like...in folder #5: 2.create_new_abstract.pd..<br>
<br>
First, thanks to who put that together, this is extremely helpful and<br>
only documented here...<br>
<br>
So my question is:<br>
<br>
Is there a way to find out the indexnumber of the objects (the<br>
creation-order-number), that is needed for the</blockquote><div><br></div><div>Nope, you need to keep track of those yourself. It really shouldn&#39;t be all that hard. I have done a couple of things creating patches in this particular way, and I have found that it is a good idea to put the static objects in a patch first, and then anything that is &quot;variable&quot; would go in next, and then lastly, you wire them up.</div>
<div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
| connect a b c d(<br>
<br>
message ??<br>
<br>
The scenario:<br>
<br>
imagine you build many objects and easily want to connect them with a<br>
little counter-like think.<br>
<br>
1) How do you find out the number that needs to be given to<br>
&quot;connect&quot; ???<br></blockquote><div><br></div><div>Each object is referenced in the order in which they are added to the patch.</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
2) Which additional arguments can be send to which object ??</blockquote><div><br></div><div>Not really sure what you mean here, but the string used to create the object should have everything it needs to create that instance.</div>
<div><br></div><div>As far as I know, once you add an object to a patch, the only thing you can do with it is to pass its index to a connect message.</div><div>&nbsp;<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
 &nbsp; &nbsp; &nbsp;for example i would like to build a number-box, using the built-<br>
in &quot;send&quot; and &quot;recieve&quot; mechanism...<br>
 &nbsp; &nbsp; &nbsp;Is that possible ???</blockquote><div><br></div><div>Yes, you just need to set those arguments when you add the objects to the patch. I am not really sure where it is, but there is a listing of each of the objects in PD and what arguments they can handle.</div>
<div><br></div><div>Hope this helped.</div><div><br></div><div>Mike</div><div><br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
Thanks<br>
<br>
Luigi<br>
<br>
_______________________________________________<br>
<a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal.<br>—Yehudi Menuhin (1916–1999), musician