Share

LinePatternElement.GetSolidPatternId Method

Gets the solid line pattern element id.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static ElementId GetSolidPatternId()

Return Value

ElementId
The element id of the solid line pattern.

Remarks

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

Reference

Was this information helpful?