I have set of replicated containers with custom parameters (image2) with little python script picking up data from table. Inside container there is parameter chop selecting this 3 parameters (image 1). it works, BUT sometimes on container parameters page there is data, but inside there is non. if i manually add new parameter chop, it will see it. So some times parameter chop sort of freezes…,
row “0”, column ‘input’ for the first replicant
row “1”, column ‘input’ for the second replicant
row “2”, column ‘input’ for the third replicant
and so on… which I don’t think is correct, given that your table only has two rows total.
I think the expression you want is:
1 if op('chopto3')[ 1 ,'input'] == me.digits else 0
This should look at the chopto3 DAT in the first row, in the column marked ‘input’ and try to match for the digits of the repliant. Testing this change and I can see that only a single replicant is on at a time (both the custom parameter, and the parameter CHOP).
Expressions works fine, but the data transfer is not some times.
Thanks for finding mistake in expression.
i can’t use your code, because my table can have from 2 to 10 rows and my containers search for row with id number equal to container digit. So i can’t select by row index, because each element of table will cook in different container during its life span.
The problem is that some times, parameter chop not getting data from its container (parent). But if i add another parameter chop, it works just fine
We are working on a Parameter CHOP bug that might be related. If you right-click on the Parameter CHOP and select “Force Cook”, does the data update correctly?