Get Solid Pattern

# Get Solid Pattern
all_pats      = FilteredElementCollector(doc).OfClass(FillPatternElement).ToElements()
all_solid     = [pat for pat in all_pats if pat.GetFillPattern().IsSolidFill]
solid_pattern = all_solid [0]

⌨️ Happy Coding!
Erik Frits