Jump to content

how to reference a nested entity's status


petersbl
 Share

Recommended Posts

image.png.f5c02ba0af6ede4d454025fcf7793aff.png

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!

Link to comment
Share on other sites

×
×
  • Create New...