Filter door openings and add a new attribute to these openings

Hello,

I would like to filter all door openings in Revit and add an attribute to these openings. So I don’t want to filter the doors themselves, but the openings that are created by the doors. Later I want to distinguish door openings from window openings in an evaluation software and therefore attach an attribute to these openings.
Is there a way to do this with dynamo?

Many thanks in advance

I don’t think you can do this, because when a door is placed in a wall, it does not create an opening instance.

This would only be possible if you create an opening in a wall and then place a door on top of it.