ATVO by Appgineering
Download
Read-only

How to get a Driver Count?

8 posts 5,856 views Started 13 Mar 2021, 20:24
Showing 1–8 of 8 posts
Harold D.
Original poster

I am trying to add a Driver Count to a widget. How do I get the total number of drivers?

Thanks,
Harold

Emmanuel S.
Reply #1
· edited

By script and you have to show
Count in IEntity of session_objet from Dataset:sessionstate

Look on Data Explorer of Theme Editor

Zack R.
Reply #4

Is it possible to get a binding like this but for the amount of drivers in each class?

Nick Thissen Appgineering
Reply #5

How would you like this binding to behave? Do you want a separate binding for "class 1, 2, 3, 4, 5..." up until 10 or something?

  • "carcount_class1"
  • "carcount_class2"
    ...
  • "carcount_class10"
Zack R.
Reply #6

That might be the easiest way to do it, unless there's perhaps a way to get it to tie into whatever class a widget is assigned to under Data Class Filter.

Zack R.
Reply #7

Actually it would probably be better to have a separate binding for each class now that I think about it. I know as of now there's a limit of 8 classes in a non-AI session if that helps.

Archive · Read-only

New replies have moved to Discord.