<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">canvas_find works well, thanks!<div class=""><br class=""></div><div class=""><a href="https://github.com/danomatika/PdParty/blob/master/src/modules/PureData.m#L608" class="">https://github.com/danomatika/PdParty/blob/master/src/modules/PureData.m#L608</a></div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--------<br class="">Dan Wilcox<br class=""><a href="https://twitter.com/danomatika" class="">@danomatika</a><br class=""><a href="http://danomatika.com" class="">danomatika.com</a><br class=""><div class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 11, 2016, at 1:31 PM, <a href="mailto:pd-list-request@lists.iem.at" class="">pd-list-request@lists.iem.at</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">From:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com" class="">jancsika@yahoo.com</a>><br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Subject:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Re: [PD] finding out if an abstraction instance exists</b><br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Date:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">January 11, 2016 at 12:24:44 PM MST<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">IOhannes m zmölnig <<a href="mailto:zmoelnig@iem.at" class="">zmoelnig@iem.at</a>>, "<a href="mailto:pd-list@lists.iem.at" class="">pd-list@lists.iem.at</a>" <<a href="mailto:pd-list@lists.iem.at" class="">pd-list@lists.iem.at</a>><br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Reply-To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com" class="">jancsika@yahoo.com</a>><br class=""></span></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div id="yui_3_16_0_1_1452539262181_3069" dir="ltr" class=""><span id="yui_3_16_0_1_1452539262181_3068" class="">I can think of two ways:</span></div><div id="yui_3_16_0_1_1452539262181_3069" dir="ltr" class=""><span class=""><br class=""></span></div><div id="yui_3_16_0_1_1452539262181_3069" dir="ltr" class=""><span id="yui_3_16_0_1_1452539262181_3398" class="">1) something like canvas_find method -- walk through every toplevel looking for a canvas_class of the relevant filename/binbuf/whatever</span></div><div id="yui_3_16_0_1_1452539262181_3069" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1452539262181_3067" dir="ltr" class=""><span id="yui_3_16_0_1_1452539262181_3500" class="">2) take the abstraction's name, add "pd-" to the front, create a t_symbol* from </span></div><div id="yui_3_16_0_1_1452539262181_3067" dir="ltr" class=""><span id="yui_3_16_0_1_1452539262181_3614" class="">it and go spelunking in the symbol's s_thing for receivers.  But this isn't </span></div><div id="yui_3_16_0_1_1452539262181_3067" dir="ltr" class=""><span id="yui_3_16_0_1_1452539262181_3956" class="">foolproof, as someone can easily create a receiver with the same name as </span></div><div id="yui_3_16_0_1_1452539262181_3067" dir="ltr" class=""><span class="">an abstraction.</span></div><div id="yui_3_16_0_1_1452539262181_3067" dir="ltr" class=""><span class=""><br class=""></span></div><div id="yui_3_16_0_1_1452539262181_3067" dir="ltr" class=""><span id="yui_3_16_0_1_1452539262181_3918" class="">I encapsulated #1 in the pd-l2ork introspection objects [pdinfo] and [canvasinfo].</span></div><div id="yui_3_16_0_1_1452539262181_3067" dir="ltr" class=""><span class=""><br class=""></span></div><div id="yui_3_16_0_1_1452539262181_3067" dir="ltr" class=""><span class="">-Jonathan</span></div></div></div></blockquote></div><br class=""></div></body></html>