Styles and Patterns
In Revit API, line patterns are represented by the DB.LinePatternElement.
Find Specific Line Pattern
Use the context menu on the Line Pattern component to select a specific line pattern:
In Revit API, fill patterns are represented by the DB.FillPatternElement.
Find Specific Fill Pattern