Line Patterns

In Revit API, line patterns are represented by the DB.LinePatternElement. Solid is a special line pattern and Revit does not return a normal API type for this specific line pattern.

Find Specific Line Pattern

Use the context menu on the Line Pattern component to select a specific line pattern:

Fill Patterns

In Revit API, fill patterns are represented by the DB.FillPatternElement. Solid is also special fill pattern but in this case, Revit provides access to this pattern as a normal Revit API type.

Find Specific Fill Pattern