Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbDatabase::getNearestLineWeight Method
Syntax
C++
static OdDb::LineWeight getNearestLineWeight(int weight);

Requires a lineweight and returns the nearest OdDb::LineWeight enum number for this database. For example, when the passed value is 8, the returned value is kLnWt009. 

 

Parameters
Description
weight
[in] The lineweight value.
Copyright © 2002-2022. Open Design Alliance All rights reserved.