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
Pdand go toToolsFind Externals. Search forpdluaand install it. Then create an object withdeclare -lib pdlua -path pdlua. Finally, uselpathsor any other object frompdlua. - Available for .