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

Category.SetLineWeight

Method
Description:
Sets the line weight for the given graphics style type.
Syntax
public void SetLineWeight(
	int lineWeight,
	GraphicsStyleType graphicsStyleType
)
Parameters
Parameter Type Description
lineWeight Int32
graphicsStyleType GraphicsStyleType The type of graphics style.
Return Value
Exceptions
Exception Condition
ArgumentOutOfRangeException Thrown when the input argument-"lineWeight" or "graphicsStyleType"-is out of range.