Share

AcDbDatabase::setDimunit

C++

Acad::ErrorStatus setDimunit(
    int unit
);

Description

Sets the database values of DIMLUNIT and DIMFRAC according the Release 14 variable DIMUNIT value of unit.

See the System Variables section of the AutoCAD Command Reference for information on DIMLUNIT and DIMFRAC.

Returns Acad::eOk if successful.

This method is deprecated and may be removed in a future release.

Parameters

Parameters Description
unit Input DIMUNIT value (must be the range 1 to 7)

Links

AcDbDatabase Class

Use Instead

virtual Acad::ErrorStatus setDimlunit(int v);

virtual Acad::ErrorStatus setDimfrac(int v);

Was this information helpful?