pattr @bindto argument in presentation mode?

Aug 14, 2012 at 5:35pm

pattr @bindto argument in presentation mode?

Hello,

I’m writing a touch application in Max. I’m using the pattr object with the argument pattr @bindto Turntable_1::patching_rect. This allows me to dynamically update the position and size of a dial object with the scripting name Turntable_1

My problem is that when in presentation mode, Turntable_1 no longer seem to bind to the pattr object and will not send its vital screen positioning back to the touch screen logic in my parent patch.

I have looked at ways of binding to objects in subpatchers and bpatchers but can’t seem to find a way of binding to objects in presentation mode.

Any ideas?

#63972
Aug 14, 2012 at 5:47pm

Hi,

maybe bind your [pattr] to “presentation_rect” attribute instead of “patching_rect” ?

#230672
Aug 14, 2012 at 5:52pm

Yes indeed, Just figured it out as I checked your reply. It works, thank you. Although that doesn’t seem to be documented anywhere???

#230673

You must be logged in to reply to this topic.