I need to filter the geometry in my cad file based on the layer (layer name).
I have tried previous examples in which GeometryObject had the property of GraphicStyleId. But the name of the GraphicStyle extracted from the objects is coming out to be the same as the name of the CAD document linked. So I am not sure how to proceed. Please help.
I am using Revit 2025.