Can you set add an object to presentation mode by sending it a message?

Rob MacNeacail's icon

If so, what message? I'm wanting to be able to add and take away objects from presentation mode to make a drum machine that changes its UI when you change time signature. I'm guessing if there is a message, it's 'set...' something...

thanks!

Len Richardson's icon

Hi Rob,
The message would be presentation 1 /presentation 0.

Be aware that you have to set the presentation rectangle manually since it will be set to patching rectangle when you add an object to presentation.

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


For setting the presentation rectangle:

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

Kind regards
Len

double_UG's icon

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

Len Richardson's icon

Oh yes. Stupid me.
Doubleug is right. My solution is just a cheap one. Completely forgot to even consider the hidden message.

Rob MacNeacail's icon

thanks both of you, the cheap version is actually grand for me, it's for an assignment that limits the objects i can use, but i'll definitely save the hidden message one as well!