GetLineStyleIds Method


Curve Element Get Line Style Ids Method

Ids of all line style Elements that are applicable to this curve element.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ICollection<ElementId> GetLineStyleIds()

Return Value

ICollection ElementId
A collection of Ids of line style elements.
Remarks
The elements are of the GraphicsStyle class.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →