Preset save and load problem

john one's icon

Hello!
I am trying to save and load the presets in a patch a am working on. Everything seems to work fine when i work in the same patch (i can change presets etc) but when i close it and reopen it i cant load the previous stored presets. Have been loooking around the forum for similar posts but for a reason cant make it work.
If anyone could help i would really apreciate it. Thank you in advance!

Max Patch
Copy patch and select New From Clipboard in Max.

here is the part of the patch with the preset:

pdelges's icon
Max Patch
Copy patch and select New From Clipboard in Max.

pattr needs a symbol as argument, not a number.
It works much better like this (don't forget to save your preset file with the write message):

john one's icon

thanx Patrick!!
completely missed that part!
now i can save my preseets!!! thanx again!!!

pythagoras's icon

PDELGES,

I realize this is an old thread, but I have been looking for a solution to generally controlling my hierarchy of bpatchers with the ability to save things in a sensible way. I have tried to use pattr, autopattr, pattrstorage etc. etc. and to be honest the whole implementation in MAX for these objects seems half-baked at best, excessively illogical and frustrating.

I haven't tried to implement it yet but I believe your patch above with reading and writing to file preset files may be just the ting I have spent way too long trying to figure out how to do.

So thanks, and cheers