Please have a look at the attached model.
You can use methods in a display panel as well. But please note that this is terribly slow.
Hi Ralf...Thanks for the reply
I guess some confusion may be there...I meant
Line object(Its basically a vehicle storage I am modelling) carrying 3 types of MUs - MU A,B and C
I want to display example
Total Vehicles in storage - 900 (easy in display panel use .nummu)
Type A in storage - 350 (How to do?)
Type B in storage - 350 (How to do?)
Type C in storage - 200 (How to do?)
Thanks for the solution...
But the issue is .cont or contentlist gives me name of the MU on the line as in attached image...it is giving mu name B88 is present on line but my requirement is how many types of B are present and how many types of A are present.. Can that be displayed using display panel or using any attribute of line that is recording no. of MuS on line and their types.???
In the attached model I use an entrance and exit control to increment and decrement a variable once a MU enters or leaves the line.