Skip to content

canvas.name

The canvas.name object outputs the symbolic name of the current Pure Data patch or its parent patches. It can be configured with a float to specify the depth level (e.g., 1 for parent, 2 for grandparent) or with the symbol -env to retrieve the name of the main patch window's environment. This object is particularly useful for dynamic patching, allowing other objects to receive messages based on the patch's name.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for else and install it. Then create an object with declare -lib else -path else. Finally, use canvas.name or any other object from else.

  • Library developed mainly by Alexandre Torres Porres.
  • Report Bugs/Errors here!
  • Available for .

Similar


    Comments

    Contributors