jit.pwindow: doesn't understand "float"
Hi,
Please see attached photo and patch.
I've created a subpatch connected to jit.pwindow.
My aim is for the pwindow to appear in the correct location as well as the right dimensions, when loading different movies into the patch that feed into those pwindows...
I get a error - jit.pwindow: doesn't understand "float"
Thanks!

that looks very simple :
it does not want floats, don't send floats to it.
if you can't force whatever you use to generate ints
instead of floats, then use expr to convert to int.
or vexpr in case of lists.
what to use would depend on rounding that you prefer.
see expr help file to pick
int, round, floor ...

The outcomes of round, floor, and ceil are floats, not ints, as the image suggests, and still need to be converted to integers.
However, floats are not the problem here. The message sent is missing an attribute.
what needs to be converted again to ints ?
it is about snapping to integer part one or the other way ...

likely you just need prepend patching_rect after the pattr object.
jit.pwindow doesn't understand float, yet, it doesn't udnerstand int either. It needs to interpret those numbers; as Rob said, likely its patching_rect or presentation_rect as messagename is required.

it understands floats, but not messages of datatype float. :)
like most non-math objects do...
what needs to be converted again to ints ?
it is about snapping to integer part one or the other way ..."
Exactly. That's what I wrote. The outcomes of round, floor, and ceil are floats and need to be converted to int. Something you show in your last example with vexpr, but not in the first one I responded to.
Haha. I just like making demo vids!
Who said jit.pwindow doesn't understand floats?
Probably what Rob or Roman or Source Audio or Nodanoma or Ravinni said is correct--
No errors float.
Thank you all for your answer.
Prepend patching rect solved it!
<3