js bpatcher failure

May 7, 2012 at 11:54am

js bpatcher failure

i create several bpatcher with this line of code. (setups…. vsize are variables for the position and size)
tp.newdefault(SetupX,SetupY,”bpatcher”,”@patching_rect”,SetupX,SetupY, hsize, vsize, “@presentation”, 1, “@presentation_rect”, SetupX,SetupY, hsize, vsize)

it creates my bpatcher correctly, but i ve got the error message “bpatcher: error loading patcher @presentation” in max window. i didn’t find the failure. because the object is created and works fine.

#63461
May 15, 2012 at 7:11pm

if i’m not wrong, you could do this with some more lines:

mybpatch = tp.newdefault(SetupX,SetupY,”bpatcher”);
mybpatch.patching_rect = [SetupX,SetupY,hsize,vsize];
mybpatch.presentation = 1;
mybpatch.presentation_rect = [SetupX,SetupY,hsize,vsize];

#228804

You must be logged in to reply to this topic.