[PD] load subpatch inside a patch
IOhannes m zmoelnig
zmoelnig at iem.at
Tue Jun 23 15:55:28 CEST 2009
budi prakosa wrote:
> hello all,
>
> is it possible to load subpatch inside a patch on runtime from a list of
> subpatches?
in Pd-lingo a "subpatch" means a canvas ("window") stored within a patch.
since it isstored with the patch, it makes little sense to try "loading"
it at runtime (it's already loaded...)
in Pd-lingo, an "abstraction" means a canvas ("window") stored on disk
to be used by another patch as an ordinary object.
it can be loaded at runtime by e.g. using "File->Open" or equivalent.
equivalents are (for instance):
- [; pd open mypatch.pd path(
- using dynamic patching to create any(!) object: [;pd-sub obj 100 100
mypatch( will create an object [mypatch] in the subpatch named "sub".
all of this is non-official and thus thou shall not complain if things
break in future Pd-releases.
>
> maybe by using playlist object?
>
whatever pleases you.
anyhow, in general i would recommend to not use any dynamic features and
instead turn on/off (sub)patches at runtime by a clever use of [switch~]
and [spigot] and whatnot.
fgmadr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090623/24026898/attachment.bin>
More information about the Pd-list
mailing list