LineStyleAttributes
Query nodes for extracting detailed information from LineStyleAttributes objects, including color, graphics style, pattern, name, and weight.
The LineStyleAttributes query nodes provide access to all properties of Revit Line Styles returned by LineStyle.AllAttributes or LineStyle.Create. Use these nodes to interrogate line style data including color assignments, the underlying GraphicsStyle element, line pattern elements, style names, and line weights. These query nodes enable you to audit existing line styles and extract properties for standardization workflows.
Color
A query node which returns the assigned Dynamo Color of the Line Style GraphicsStyle.
Inputs
lineStyleAttributesLineStyleAttributesOutputs
ColorColorFeatures
- Returns the Dynamo Color of the Line Style GraphicsStyle
User Guide

GraphicsStyle
A query node which returns the wrapped Revit GraphicsStyle Element.
Inputs
lineStyleAttributesLineStyleAttributesOutputs
ElementElementFeatures
- Returns the wrapped Revit GraphicsStyle Element
User Guide

LinePatternElement
A query node which returns the assigned line pattern Element of the GraphicsStyle. If the line pattern is the built-in Solid style, returns null as the Solid style is a special type that isn't represented as a line pattern in the Revit API but a special code that tells drawing and export codes to use solid lines rather than patterned lines.
Inputs
lineStyleAttributesLineStyleAttributesOutputs
LinePatternElementLinePatternElementFeatures
- Returns the assigned line pattern Element of the GraphicsStyle
User Guide

Name
A query node which returns the name of the Line Style GraphicsStyle.
Inputs
lineStyleAttributesLineStyleAttributesOutputs
stringstringFeatures
- Returns the name of the Line Style GraphicsStyle
User Guide

Weight
A query node which returns the line weight of the Line Style GraphicsStyle as an integer.
Inputs
lineStyleAttributesLineStyleAttributesOutputs
intintFeatures
- Returns the line weight of the Line Style GraphicsStyle
User Guide
