Share

AcDbDatabase::setInsunits

C++

Acad::ErrorStatus setInsunits(
    const AcDb::UnitsValue units
);

Description

Sets the INSUNITS variable for the database.

Note Changing this value will not change any scales or coordinate data in the database.

Returns Acad::eOk if successful or Acad::eInvalidInput if the units value is out of range.

Parameters

Parameters Description
units Input AcDb::UnitsValue indicating the type of units of length measure used by the drawing

Links

AcDbDatabase Class

Was this information helpful?