preset not excluding/including objects

jtdancemusician's icon

I can't get the preset object to exclude or include objects in a patcher in the usual way, by connecting to the second and third outlets. Any ideas? Is this basic function now broken? Mac OS X 10.5.8 Max 5.1.1 (41439). I have this problem in all my patchers.

Gregory Taylor's icon

Have you considered taking the plunge and using pattr? It's not hard to do, and gets you all kinds of nice new things [parameter interpolation, etc.].

1. Choose any object you want to include, open the Inspector, and fill in the Scripting Name for it.

2. Add a pattrstorage object and name it (i.e., pattrstorage bourbon)

3. Drop an autopattr object into your patch

4. Open the Inspector for the preset object you've got and look at the
very bottom of the Inspector listing. See the line called "pattrstorage" there? Double-click in the value column to get a cursor and type in the name of the pattrstorage object (bourbon).

That's it. You're done. You can now use all the pattr stuff AND your preset object will control storing and recalling presets stored by pattr.

seejayjames's icon

the [preset] function should not be broken. works fine here. that said, the advice about [pattr] is good, it's [preset] on steroids. but again, [preset] should work...and one advantage is not needing an external file like [pattrstorage] does.

if you've stored some presets already and then connect/disconnect new objects, you need to re-store your presets so they behave.

A different approach to autopattr is to not bother with scripting names, just use @autoname 1, then manually connect autopattr to the objects you want to include. Both ways should work fine, it's just a trade-off on effort.

Roland Cahen's icon

This has been a bug for a while now.

Trying to substitute a simple good solution (preset) by a super one but hyper complex (pattr) is not quite a good answer.
Preset is usefull for simple patchs, and the exclude object feature essential. Especially in education, but also when doing fast patching as well as excluding dependencies.
Why not solving the bug ?

Thanks
R.C.