Sorry if this is obvious, but can someone tell me how I can reference the number of batchMembers in the example above without having to reference the specific entity, which in this case is TruckLoad.5442. I need something like "the number of batchMembers in the entity currently in the ParentInputBuffer" please. e.g. TruckBay1Batch.ParentInputBuffer.Content.???.BatchMembersCount?
As you'd expect, this number changes constantly during the simulation run. At this moment of simulated time, the answer is 2.
Thanks for your help!