How to deselect cells in jit.cellblock

mharter's icon

if you send the following message to jit.cellblock, it deselects the current selection:

select -1 -1

This should also de-focus keyboard input from the cell block so that [key] responds to them. I found this by accident, could some smart person tell me about the right way to do it (if there is one).

Thanks!
MH

seejayjames's icon

I seem to remember "select" to [thispatcher] will do it, it will also deselect a number box.

Leigh Marble's icon

hey Mharter - I was looking for a way to deselect the current selection of jit.cellblock as well. I think you found the right way! I was worried it was just a accident or a hack at first, that could break at a later point. However, sending this message:

select -1 0

Produces this message in the Max console:

jit.cellblock: selection of -1/-1 is a special case, and needs to have both entries equal to -1

So, while undocumented, at least it was intentional!