Revit 2026 API
Line |
Gets the solid line pattern element id.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static ElementId GetSolidPatternId()
Public Shared Function GetSolidPatternId As ElementId
public: static ElementId^ GetSolidPatternId()
static member GetSolidPatternId : unit -> ElementId
Return Value
ElementIdThe element id of the solid line pattern.
Note that Solid is special. It isn't a line pattern at all -- it is a special code that tells drawing
and export code to use solid lines rather than patterned lines. Solid is visible to the user when selecting
line patterns.
See Also