Is there a way to extract the different elements from a Revit component, like a window for example, and the materials corresponding to each element?
Like if I want to get a window component, and being able to extract the glass with its material as well as the framing with its material? In a way so that I can match geometry with material?