I would like to modify the batch size an entity batch creator applies after each batch creation (more specifically: after each created batch, the next batch size shall vary randomly). To do this, I would like to modify the block's parameter "Number of entities in batch" inside the following field (batch generate - since it's called right after batch generation):
From the documentation I understand that the parameter can be accessed through "NumberOfEntitiesInBatch". However, if I simply write NumberOfEntitiesInBatch = XYZ nothing happens/changes. The batch sizes don't seem to be set randomly after each batch creation. I assume I have to access it by something along the lines of thismodel.thisblock.NumberOfEntitiesInBatch = XYZ or so.
Can anyone let me know how to appy code correctly here? Thanks in advance!