Share

AcDbLayerTableRecord::lineWeight

C++

AcDb::LineWeight lineWeight(
    const AcDbObjectId& viewportId, 
    bool& isOverride
) const;

Description

Returns the layer global line weight, or the override line weight if an override exists for the supplied viewport. In addition, isOverride carries the override state.

if a null viewport object ID is passed in, the global layer line weight will be returned.

Parameters

Parameters Description
viewportId The object id of the viewport.
isOverride A reference to a boolean out-parameter. It will be set to true if a line weight override exists for the viewport, false otherwise.

Links

AcDbLayerTableRecord

Was this information helpful?