Parameter CHOP - wrong data come in

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…,

lates 099 windows10
project.toe (2.01 MB)


I think there’s a problem with your expression in the Active parameter.

1 if op( 'chopto3' )[ str( me.digits ), 'input' ] == 1 else 0

This would look at that chopto3 table in the

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?

Yeah, this helps. i have go this bug again, i manually force cook chop param and it worked. Can it be somehow related to replicator and cloning?

Can i some how help you guys? record video? or share git project?

We have our case in the queue to get fixed, but if you share an example file where it happens it we can make sure the fix addresses yours as well.