Share

AcDmUtil::dimfit

C++

int dimfit(
    int dimatfit, 
    int dimtmove
);

File

dbdim.h

Description

The Release 14 dimension variable DIMFIT has been separated into two new variables DIMATFIT and DIMTMOVE. This function returns the correct DIMFIT value given values for DIMATFIT and DIMTMOVE. Here is the complete mapping:

dimatfit = 0, 1, 2, 3
dimfit   = 0, 1, 2, 3,  // dimtmove = 0
           4, 4, 4, 4,  // dimtmove = 1
           5, 5, 5, 5   // dimtmove = 2
All other inputs return 3.

Parameters

Parameters Description
dimatfit Value for DIMATFIT
dimtmove Value for DIMTMOVE

Was this information helpful?