[PD] get path of parent patch
David NG McCallum
d at mentalfloss.ca
Fri Mar 26 09:42:40 CET 2004
I had the same issue when it came to saving abstraction's gui settings
in the path of the parent patch. My solution was to have a sort of
Mother sub-patch that I copied into all of my patches. My abstractions
then communicate with the mother patch, and it knows what path the
parent's in because it's a sub-patch, not an abstraction.
So I guess no, there is no way. I asked this... many months ago and got
the same response.
__ _ _ _ _ __ ___ _ ___ __ _ _ _ ____ __
Music wants to be free http://sintheta.org
Ben Saylor wrote:
> Is it possible for an abstraction to get the path of the parent patch?
> I have an abstraction called sample.pd that takes the name of a
> soundfile to load as an argument, and I would like it to look for the
> soundfile in the parent patch's directory, rather than my abstractions
More information about the Pd-list