pattrstorage & saving only certain elements in a slot

Sep 16, 2007 at 6:40pm

pattrstorage & saving only certain elements in a slot

For all you pattrstorage experts out there:

There are times when I am storing a preset that I only want save a couple of the variables stored in a slot vs. all the variables. If for nothing else it is to cut down on some confusion in the XML file. For example, say I have 3 number boxes, “bob” “sam” “fred”. In most fo the slots I want “bob” & “sam” stored, but in a few cases I just want just “fred” stored. Again, I have it all working and am extracting the right data when I need it…I’m just trying to clean up a pretty crazy XML file so it can be edited (and understood) by others outside of Max.

Thanks for any advice.

Best,
David

#33699
Sep 16, 2007 at 7:42pm

#112598
Sep 16, 2007 at 10:10pm

#112599
Sep 16, 2007 at 10:18pm

Actually I just realized you could store individual elements via “store bob 50 234″. It’ll still show the other elements in that slot, but they will all be empty (value = “”). That’ll work!

Sorry for the noise!

David

#112600

You must be logged in to reply to this topic.