[PD] How to get all objects in a patch

Chris McCormick chris at mccormick.cx
Fri May 22 15:44:11 CEST 2015


Hello Jan,

On 22/05/15 20:24, Jan Baumgart wrote:
> I'm trying to find all gui objects in a patch (and it's subpatches) in
> order to get their send/receive names.
> I wrote a patch, which does this with a .pd file as text.
> 
> But I'd rather do this on an "evaluated" patch level, so I also get all
> subpatches/abstractions and $1,... are already substituted.
> 
> Is this possible within a pd patch?

It might be possible with in a TCL plugin that listens out for the
object creation but I don't think you can do it directly in a patch
other than in the manner you're already doing it.

Cheers,

Chris.

-- 
http://mccormick.cx/



More information about the Pd-list mailing list