Skip to content
AppgineeringAppgineering
Shop
Read-only8 posts · 5,856 views · Started 13 Mar 2021, 20:24

How to get a Driver Count?

Archived: discussion moved to DiscordDiscord
Harold D.Original poster
#1

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

Thanks,
Harold

#2

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

Look on Data Explorer of Theme Editor

#5

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

Nick ThissenAppgineering
#6

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"
#7

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.

#8

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.

This thread is archived.

New replies have moved to Discord.

Continue on Discord