Cull duplicates (Cull All option) implementation in C# script component

How can I replicate the functionality of Cull duplicates with the ability to set the options to either (cull all, average or none) in a C# script ?

Maybe this will help?

Take a look at this C# script from the #GH Project.

20230626_C#_Cull_Duplicates_01a.gh (14.1 KB)

Awesome, Appreciate the help

Anytime!