I’ve got an mxj object which uses LCD to draw some stuff. These two are saved together in a patch which I want to use as a bpatcher.
What I want to do is to be able to automatically resize that bpatcher when it loads so that it is the right size for the lcd inside.
I’ve been trying various combinations of getParentPatcher and getWindow and getMaxBox but i’ve not yet found the magic route to resizing the bpatcher.
Ideally what i want is to do this from the MaxObject :
but I cant see a way to get the parent of a patcher object, nor is there way to modify the display rect of a patcher, you can only set the co-ords when calling the MaxPatcher constructor.
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.