<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Object ID and Hiding Subpatches when using Broadcast Messages]]></title><description><![CDATA[<p>Two simple questions:</p>
<ol>
<li>Is there an easy way to find out the id of the last object created in a patch?</li>
<li>Can I stop subpatches from opening on creation? If so, how do you do that?</li>
</ol>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages</link><generator>RSS for Node</generator><lastBuildDate>Mon, 05 Oct 2026 12:26:16 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/9040.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Feb 2015 06:05:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Wed, 11 Feb 2015 06:05:10 GMT]]></title><description><![CDATA[<p>Two simple questions:</p>
<ol>
<li>Is there an easy way to find out the id of the last object created in a patch?</li>
<li>Can I stop subpatches from opening on creation? If so, how do you do that?</li>
</ol>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages</guid><dc:creator><![CDATA[ricky]]></dc:creator><pubDate>Wed, 11 Feb 2015 06:05:10 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Wed, 11 Feb 2015 12:52:44 GMT]]></title><description><![CDATA[<p>Don't know about 1, but 2 is simple. Close the subpatches and save the original. When you re-open, the subpatches remain closed.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/2</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Wed, 11 Feb 2015 12:52:44 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Wed, 11 Feb 2015 12:54:44 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/liamg">@LiamG</a> I think he meant that when you create a new subpatch by typing <strong>[pd my-subpatch]</strong>, a new window will open automatically -- a behaviour which I don't think you can change.</p>
<p>Best,<br />
Gilberto</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/3</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Wed, 11 Feb 2015 12:54:44 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Wed, 11 Feb 2015 13:06:09 GMT]]></title><description><![CDATA[<p>How about this?</p>
<p><a href="/uploads/files/upload-82db53e6-bc42-4b44-b156-ba43cb14c2d0.pd">newsub.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/4</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Wed, 11 Feb 2015 13:06:09 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Wed, 11 Feb 2015 13:09:37 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/liamg">@LiamG</a> yeah, that works, but it's kind of a hack: I'd rather close manually an unwanted popping window than to use an abstraction that will create a subpatch in a fixed place in my patch, which then needs to get deleted later. But that's just my opinion.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/5</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Wed, 11 Feb 2015 13:09:37 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Wed, 11 Feb 2015 13:30:18 GMT]]></title><description><![CDATA[<p>Hehe, I agree--this doesn't seem useful at all.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/6</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Wed, 11 Feb 2015 13:30:18 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Wed, 11 Feb 2015 16:00:47 GMT]]></title><description><![CDATA[<p>Hi Folks,</p>
<p>Thanks for your responses. Actually, Liam's suggestion is exactly what I need. It's a pretty good solution. Still need the id of objects so that I can connect them after the fact.</p>
<p>Thanks in advance,</p>
<p>Ricky</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/7</guid><dc:creator><![CDATA[ricky]]></dc:creator><pubDate>Wed, 11 Feb 2015 16:00:47 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 12 Feb 2015 01:19:28 GMT]]></title><description><![CDATA[<p>I'm glad it helps!</p>
<p>Here's a tedious way of finding the ID number: open the pd file in a text editor and count the number of objects prior to the one you're looking for. Ie, if you see:</p>
<pre><code> #X obj 30 369 phasor~;
 #X obj 30 308 random 100;
 #X obj 30 280 metro 30;
</code></pre>
<p>then metro is the third object. Remember to start from the very top of the list. If you have trouble finding the right object, then you could add a unique creation argument to it in the GUI, even if it temporarily breaks the object (ie, rename it [metro foo] and then search for &quot;foo&quot; in the text editor).</p>
<p>Another technique is to ensure that any new object you create is in a special subpatch. Inside the subpatch, ID numbering is restarted, so you can be sure that the first object you create is 1, etc.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/8</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Thu, 12 Feb 2015 01:19:28 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 12 Feb 2015 01:59:10 GMT]]></title><description><![CDATA[<p>Somewhat off-topic, but reading this post I've found that I can open a .pd patch with my browser (Firefox).</p>
<p>And, once it's there, I can right click onto it and select &quot;View page source&quot;. A little window opens and, when I click onto any line (of the Pure data text), the status bar indicates line and column, for example: Line 6 Col 2.</p>
<p>It's an useful way of counting. But text editors have this counting functionality too. So I don't know how useful this is, but there it is. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/smile.png" title="smile" alt=":smile:" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/9</guid><dc:creator><![CDATA[LandonPD]]></dc:creator><pubDate>Thu, 12 Feb 2015 01:59:10 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 12 Feb 2015 02:11:33 GMT]]></title><description><![CDATA[<p>Hey! All great ideas. Thanks folks.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/10</guid><dc:creator><![CDATA[ricky]]></dc:creator><pubDate>Thu, 12 Feb 2015 02:11:33 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 12 Feb 2015 03:39:14 GMT]]></title><description><![CDATA[<p>Is there a broadcast message for <em>removing</em> an object from a patch?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/11</guid><dc:creator><![CDATA[ricky]]></dc:creator><pubDate>Thu, 12 Feb 2015 03:39:14 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 12 Feb 2015 05:27:27 GMT]]></title><description><![CDATA[<p>Haha, don't think so. This is a serious limitation. The closest thing is the [clear( message, but that destroys everything. It's conceivable that you could direct it towards a specific subpatch and then rebuild the whole thing up until the object you want removed, but this would be tedious.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/12</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Thu, 12 Feb 2015 05:27:27 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 12 Feb 2015 06:33:03 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ricky">@ricky</a> said</p>
<blockquote>
<p>Is there a broadcast message for <em>removing</em> an object from a patch?</p>
</blockquote>
<p>I'm non-dynamic. However, I'm pretty sure you can benefit from...</p>
<pre><code>[cut(
</code></pre>
<p>Read the file <strong>3.2.cut_paste.pd</strong></p>
<p>Have a nice day!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/13</guid><dc:creator><![CDATA[LandonPD]]></dc:creator><pubDate>Thu, 12 Feb 2015 06:33:03 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 12 Feb 2015 15:55:18 GMT]]></title><description><![CDATA[<p>Lovely! Thanks.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/14</guid><dc:creator><![CDATA[ricky]]></dc:creator><pubDate>Thu, 12 Feb 2015 15:55:18 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Sat, 14 Feb 2015 07:58:35 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ricky">@ricky</a> Here's a patch I made that will do this.  Give it the name of your patch and it will give you the ID of each object, which you can use to connect/disconnect them:</p>
<p><a href="https://drive.google.com/open?id=0B3cukQjg0M-oekdZNndBWHVVTDA&amp;authuser=0" rel="nofollow">get_object_id.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/15</guid><dc:creator><![CDATA[cpenny42]]></dc:creator><pubDate>Sat, 14 Feb 2015 07:58:35 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Sat, 14 Feb 2015 08:04:00 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ricky">@ricky</a> And there is a technique you can use for deleting objects in a patch, but it's kind of hacky.  You can use [find &lt;object_identifier&gt; 1, cut( if the object has something in its name that is guaranteed to be unique.  This usually isn't the case, but you can design your dynamic patch with this in mind.</p>
<p>Here's an example where I do this:</p>
<p><a href="https://drive.google.com/open?id=0B3cukQjg0M-oSDVSWEtBM2h0VE0&amp;authuser=0" rel="nofollow">abstractions.pd</a><br />
<a href="https://drive.google.com/open?id=0B3cukQjg0M-oNC16SERaWF8wcHc&amp;authuser=0" rel="nofollow">abstractions-help.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/16</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/16</guid><dc:creator><![CDATA[cpenny42]]></dc:creator><pubDate>Sat, 14 Feb 2015 08:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Sun, 15 Feb 2015 00:12:56 GMT]]></title><description><![CDATA[<p>Thanks, Chris. Nice approach.</p>
<p>...I see you're at Tufts (I know Paul) :o)</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/17</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/17</guid><dc:creator><![CDATA[ricky]]></dc:creator><pubDate>Sun, 15 Feb 2015 00:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 19 Feb 2015 11:23:55 GMT]]></title><description><![CDATA[<p>I've been bumming around in the iemguts library, and it looks like there are some really useful objects there for this kind of dynamic patching, including [canvasdelete]. I don't understand them well yet, but there are several other objects here which might be what you're looking for.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/18</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/18</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Thu, 19 Feb 2015 11:23:55 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 19 Feb 2015 11:59:24 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ricky">@ricky</a> said:</p>
<blockquote>
<ol>
<li>Is there an easy way to find out the id of the last object created in a patch?</li>
</ol>
</blockquote>
<p>You can use <strong>[iemguts/canvasindex]</strong> - its right outlet outputs total number of objects in the patch (so subtract 1 to get <strong>last</strong> object's index, because indices are zero-based).</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/19</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/19</guid><dc:creator><![CDATA[xbarbie]]></dc:creator><pubDate>Thu, 19 Feb 2015 11:59:24 GMT</pubDate></item><item><title><![CDATA[Reply to Object ID and Hiding Subpatches when using Broadcast Messages on Thu, 19 Feb 2015 17:32:21 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ricky">@ricky</a> Cool! Small world I guess.  I'm working with him right now on using Pd for a Music Apps for the iPad course — it's really fun.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/20</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9040/object-id-and-hiding-subpatches-when-using-broadcast-messages/20</guid><dc:creator><![CDATA[cpenny42]]></dc:creator><pubDate>Thu, 19 Feb 2015 17:32:21 GMT</pubDate></item></channel></rss>