Articles

Week 14: Presentation View

Did you know you can include or exclude an object from Presentation View by sending it a message?

Watch the entire Did You Know series on our Youtube playlist!

by Cycling '74 on April 25, 2011

Creative Commons License
ebmoluoc's icon

Is it just me or that trick just doesn't work with bpatchers ?

Gregory Taylor's icon

This trick doesn't work with bpatchers because they're a window into another subpatcher - as such, they don't have inlets in their normal state. To add this object to Presentation mode, you'll need to either use the object's inspector to set the attribute or select the object and choose "Add to Presentation" from the Object menu.

Jesse's icon

Not sure if this is a bug or a feature, but toggling @presentation for any object resets that object's presentation rectangle to the object's patching rectangle. This means that toggling @presentation is not usable in creating dynamic interfaces. I'm trying to show/hide interactive elements on a custom interface.

This behavior is masked in the video above because the presentation rectangle is unchanged from the original object's patching rectangle. It would be very useful to have this fixed and have the object's intended presentation rectangle be retained each time it is added/removed from the presentation.

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

It should possible to see this behavior in the patch below. Notice that upon removing and re-adding the number box from the presentation that the number box's presentation rectangle is retained, but is not respected in actual the screen coordinates.

Jesse's icon

Bump

Mike S's icon

Yeah I'd say this needs fixing. There is the show/hide on lock thing, but it doesn't make sense that an object would forget its presentation position once it has been set.

Mike S's icon

In the context of this (admittedly old) video, it doesn't make sense. Is it preferable to have toggling the presentation reset to the patching rect position? Why would you want that behaviour?

The problem with hide/show is that when your UI has overlapping objects, it gets crowded pretty quickly.

Jesse's icon

As Mike said, it makes little sense to me that the presentation rectangle gets reset if the user has defined it as distinct from the patching rectangle. It effectively makes toggling @presentation useless if one is defining customized UI's, as I believe was the intention of Presentation mode.

Anyone from Cycling have a comment here?