I am working in Iron python in pyRevit environment and my code is as follows:
element_types = \\ DB.FilteredElementCollector(doc)\\ .OfCateg