Share

AcDbPlotSettings::setScaleLineweights

C++

void setScaleLineweights(
    Adesk::Boolean scaleLineweights
);

Description

This method controls whether lineweight scaling is on or off.

Lineweights are off by default, so a line will initially be drawn without a lineweight, and calling setScaleLineweights() with an Adesk::True argument won't have any affect. If, for example, a '" lineweight is applied to a line, then the scale lineweights call will ensure that the lineweight gets scaled to the plot scale. For example, if a 1:2 plot scale is specified, the aforementioned line will be displayed and plotted at 1" if scale lineweights is selected. Otherwise, it is treated as an absolute value and will be displayed and plotted at '", regardless of plot scale.

Note Even if there are lineweights in a drawing and scale lineweights has been selected, display of lineweights must be selected (LWT button on the status bar) and the Plot with Lineweights checkbox selected (in the Plotsetup dialog) in order for the lineweights to actually be displayed and plotted.

Parameters

Parameters Description
scaleLineweights Input Boolean indicating whether to scale lineweights

Links

AcDbPlotSettings

Was this information helpful?