Share

AcDmUtil::dimlunit

C++

int dimlunit(
    int dimunit
);

File

dbdim.h

Description

The Release 14 dimension variable DIMUNIT has been separated into two new variables DIMLUNIT and DIMFRAC. This function returns the correct DIMLUNIT value given a value for DIMUNIT. Here is the complete mapping:

dimunit  = 1, 2, 3, 4, 5, 6, 7, 8, other
dimlunit = 1, 2, 3, 4, 5, 4, 5, 6, 2

Parameters

Parameters Description
dimunit Value for DIMUNIT

Was this information helpful?