PDA

View Full Version : Dimensions accuracy/approximation


dermate
09-01-2006, 03:50 AM
Hi everyone,

since we build complex sheet metal parts, our dimensions are never "integer"; as an example: "13.47"; "154.71"; "58.12"; etc.

Is there a way to reduce the number of decimals from 2 to 1?

Is there a way to set the step of dimensioning to 0.5, with approximation?; as an example:
"13.47" -> "13.5"; "154.71" -> "154.5"; "58.12" -> "58"; etc.

We currently use Drafting v12.

Thank you

Riccardo

ceste76
09-05-2006, 01:41 AM
Hi,
you can use function:

DIM_FORMAT

Read the help online....
Examples:

'0,' means decimal comma, left zero suppression off, right zero suppression on.
'.2' means decimal point, left zero suppression on, right zero suppression on.
'1.2' means decimal point, left zero suppression on, right zero suppression on.
'1.1230' means decimal point, left zero suppression on, right zero suppression off. Decimal place 4.
'+1.1231' means decimal point, left zero suppression on, right zero suppression on. Decimal place 4, signed.

Ceste

Bye

John Scheffel
09-05-2006, 09:06 AM
The syntax of DIM_FORMAT is a little confusing. Here are some examples that might help.

If the length that is dimensioned measures 0.30401 mm, below is what will be displayed in the dimension text for different DIM_FORMAT settings:

DIM_FORMAT MM "1.1111" displays .304
DIM_FORMAT MM "1.0000" displays .3040
DIM_FORMAT MM "1.11" displays .3
DIM_FORMAT MM "1.00" displays .30

DIM_FORMAT MM "0.1111" displays 0.304
DIM_FORMAT MM "0.0000" displays 0.3040
DIM_FORMAT MM "0.11" displays 0.3
DIM_FORMAT MM "0.00" displays 0.30

So basically if the number in a position in the DIM_FORMAT statement is zero, a zero will be displayed if that is the value at that position. If the number in a position is non-zero, zeros will not be displayed unless they are between non-zero values.