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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →