Share

AcDbDatabase::getNearestLineWeight

C++

static AcDb::LineWeight getNearestLineWeight(
    int weight
);

Description

The getNearestLineWeight() method takes a lineweight and returns the nearest AcDb::LineWeight enum value. For example, if you pass in 4, then the value AcDb::kLnWt005 is returned.

Parameters

Parameters Description
weight Input lineweight in hundredths of a millimeter

Links

AcDbDatabase Class

Was this information helpful?