Share

AcDbDatabase::setUnitmode

C++

Acad::ErrorStatus setUnitmode(
    Adesk::Int16 mode
);

Description

Sets mode to be the UNITMODE value for the database.

See the System Variables section of the AutoCAD Command Reference for information on UNITMODE.

Returns Acad::eOk if successful.

Parameters

Parameters Description
mode Input UNITMODE value (must be 0 or 1)

Links

AcDbDatabase Class

Was this information helpful?