RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Category

Category.GetLineWeight

Method
Description:
Retrieves the line weight assigned to the category for the given graphics style type.
Syntax
public int? GetLineWeight(
	GraphicsStyleType graphicsStyleType
)
Parameters
Parameter Type Description
graphicsStyleType GraphicsStyleType The type of graphics style.
Return Value
Exceptions
Exception Condition
ArgumentOutOfRangeException Thrown when the input argument-"graphicsStyleType"-is out of range.