Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
Comentario
Advisor
Advisor

Why not to find such group types using existing functionality?

 

            var collector = new FilteredElementCollector(doc);

            var singleGroupGroupTypes = collector
                .OfClass(typeof (GroupType))
                .Cast<GroupType>()
                .Where(x => x.Groups.Size == 1)
                .ToList();