"Cell coordinates out of range". No they are not!

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

This is puzzling. The cell ranges are created on a predetermined matrixctrl object and subsequently stored in the preset object (they are not out of range) but on recall throws a cell range error in the Max Window. If you press the message box to trigger any preset it gives an error. Is this a documented bug? Could not find any info on C74.

vichug's icon

it seems that the preset has stored more information than the area of the matrixctrl. If i write the preset file then open it, the matrixctrl preset slots contain 72 elements whereas it should be 45 (this matrixctrl has 15 cells - of which the x y coordinate and the active state, 1 or 0, is saved by [preset] ; so 3 * 15 = 45). When i create a preset save it load it, no error shows ; if i open the written preset file the slots i saved have 45 elements.

pereshaped's icon

Interesting, that makes sense. I will investigate and resave the presets. Many thanks for looking at this.

vichug's icon

hth!