Select HVAC Zones

so that did help a lot. it was showing me 5000+ detail lines :face_with_spiral_eyes:

but it helped resolve it by using this:

# Filter the collected styles to include only those that:
# - Belong to a subcategory under the 'Lines' category (i.e., detail line styles)
# - Are of the 'Projection' type, which is the typical type for detail lines in Revit
detail_line_styles = [
    style for style in collector
    if style.GraphicsStyleCategory.Parent is not None and
    style.GraphicsStyleCategory.Parent.Id.IntegerValue == int(BuiltInCategory.OST_Lines) and 
    style.GraphicsStyleType == GraphicsStyleType.Projection

Thank you for the support @andreasd811

1 Like