Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLayerTableRecord::setLineWeight Method (OdDb::LineWeight)
Syntax
C++
void setLineWeight(OdDb::LineWeight kLnWtEnum);

Sets the lineweight for the layer record object (DXF 370). This lineweight is used when the Lineweight property of an entity belonged to this layer is set to ByLayer value. The initial value is kLnWtByLwDefault by default. The same entity can be rendered using different lineweights in different viewports. 

 

Parameters
Description
kLnWtEnum
[in] Lineweight (value of the enumerator).

The same layer can have different lineweights in different viewports. Therefore this method is overdriven. The method with one argument sets the own lineweight of the layer.

Copyright © 2002-2022. Open Design Alliance All rights reserved.