AnsweredAssumed Answered

Is there a way to find the total event frames in a selected time interval ?

Question asked by ibrahimnoureddine on Dec 13, 2017
Latest reply on Dec 14, 2017 by rdavin

Hello ,


I am trying to delete event frames within a time interval using AFEventFrameSearch , however finding event frames is too slow (i have up to 130000 frames per hour) , below is the code  :


   AFEventFrameSearch search = new AFEventFrameSearch(_dataBase, "FindEvents", AFSearchMode.Inclusive, startDate, searchEndDate);

                    foreach (AFEventFrame item in search.FindEventFrames(0, false, 10000))





So i am trying to make it multi-threaded by using AFElement.getEventFrames() , and specifying start index and count for each thread , however i can't find a way to get the total number of event frames per hour to split it into multi-thread.

how can i get the total number of event frames per hour , or what is the fastest way to delete event frames ?