Hi,
Does someone know how to get the name of the parent patch or canvas within an abstraction? I'm trying with pdcontrol, but I can't find a way.
The purpose is to create a method to dynamically create UIs from an abstraction.
I know I could use namecanvas on the parent patch, but it would be nice to have one step less.
-
How to get parent patch's name?
-
[canvasname] from iemguts. Aparenlty, if you give it an argument 1, it will spit the name of the parent patch out its right outlet.
-
there's also [else/canvas.name] and [else/canvas.setname]
-
Hi,
You don't need the parent name if you use [iemguts/sendcanvas]. For an example see
https://forum.pdpatchrepo.info/topic/15118/tooltip-display-a-message-about-an-abstraction-in-its-parentWork in progress : FCPD a FreeCAD PureData connexion