Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLayerTableRecord::lineWeight Method ()
Syntax
C++
OdDb::LineWeight lineWeight() const;

Returns the lineweight of 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 actual lineweight can depend on the viewport in which the entity is rendered.

The same layer can have different lineweights in different viewports. Therefore this method is overdriven. The method without arguments returns the own lineweight of the layer.

Example of Working with the Layer Record Object 

Specific Properties of Layers 

OdDbLayerTableRecord::setLineWeight() method

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