Ah, sorry I terribly misread your question! Ignore my last mail
:-/
Passing arguments to subpatches is currently not possible.
Generally, how would you distinguish between abstraction creation
arguments and subpatch arguments? $1, $2, $3, inside a subpatch
already refer to the enclosing abstraction's creation arguments.
This means you would need a dedicated syntax (or a dedicated
object) to access subpatch creation arguments. I don't see this
happening, to be honest.
I'd say, if you need creation arguments, just use an abstraction
;-)
Christof
PS: internally, subpatches don't really have creation arguments
at all. Instead they have a pointer to the canvas environment of
the enclosing abstraction or root canvas.
Sorry, is this documented anywhere?
I see a -x option to the [clone] object, which works for abstractions only.
I am talking about a general way to send positional parameters into a subpatch
similar to how I can pass parameters into an abstraction.
--
William Huston: WilliamAHuston@gmail.com
Binghamton NY
Public Service Mapping / Videography / Research / Education / Safety Advocacy
Blog -- Facebook -- Twitter -- Youtube -- Podcast Blog
Document collections: VirtualPipelines -- BHDCSDimockArchive
Please support my work! -- TinyURL.com/DonateToBillHuston
On Sat, Aug 15, 2020 at 9:28 PM Christof Ressi <info@christofressi.com> wrote:
_______________________________________________
This would be a nice featureDo you mean the "-x" flag? ;-)
Christof
On 16.08.2020 02:42, William Huston wrote:
What about this?
[pd NAME IGNORED ... -p ARG1 ARG2...]
This would be a nice feature, in that it would make subpatches work more like abstractions.
Thanks,BH
--
William Huston: WilliamAHuston@gmail.com
Binghamton NY
Public Service Mapping / Videography / Research / Education / Safety Advocacy
Blog -- Facebook -- Twitter -- Youtube -- Podcast Blog
Document collections: VirtualPipelines -- BHDCSDimockArchive
Please support my work! -- TinyURL.com/DonateToBillHuston
_______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list