bpatcher presentation toggle issue.

yerpzs's icon

hi I am having issues removing a bpatcher from the main presentation window via a bang,

If i right click a bpatcher in the main patch edit window there is an option in the inspector to " include in presentation" when i click this it does as one would expect, it toggles the bpatcher in/out of the 'main' upper most presentation window. Great.

Yet, when i drag drop this option from the inspector into the main edit window so i can automate this when needed, it is no longer the same parameter. it changes to instead toggle the sub bpatcher itself in out of presentation mode. In other words it does not toggle the bpatcher in out of the Main presentation window it toggles the actual sub bpatcher presentation mode from edit to presentation mode.

so therefore i cannot seem to remove the bpatcher from the main presentation window using (presentation 0) connected to an inlet

the only way i can see is to actually go into the bpatcher inspector and manually toggle it with the mouse. I can not do this from a message

Maybe i need to use a script to remove it ?

thanks for help.

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

Thanks Doubleug that's a great trick , thanks. : )

I found script sendbox allows for (presentation) to be toggled, but requires the position (presentation_rect) to be reset each time to reposition it

have a great week. : P