Skip to content

lpaths

lpaths demonstrates the distinction between self._canvaspath, the directory of the canvas where the object was created, and self._loadpath, the directory from which its .pd_lua file was loaded. The postpath and load messages use _canvaspath, while postpathx and loadx use _loadpath; both paths include a trailing slash for convenience.


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 pdlua and install it. Then create an object with declare -lib pdlua -path pdlua. Finally, use lpaths or any other object from pdlua.

  • Available for .

Similar


    Comments

    Contributors