MKI_FRACTION_* (Dimension Number Fractional Mode) Changed in Version 2013.0

www.CAD6.com

The dimension number fractional mode determines how dimension numbers are to be displayed. If it is negative, the setting of the coordinate system is used. Otherwise, it can be one of the following values:

 

MKI_FRACTION_FLOAT (0)

The value will be displayed using floating point representation, i.e. with a decimal separator and following fractional digits, e.g. 10.75. How trailing zeros are handled depends on user settings in the application.

 

MKI_FRACTION_MIXED (1)

The value will be displayed using a mixed fraction representation, i.e. the integer value will be followed by a fraction with a power of 2 as denominator, e.g. 10 3/4. The fraction will be reduced automatically.

 

MKI_FRACTION_DEGREE_FLOAT (6)

The value will be split into [degree], [minute] and [second] elements, where the value itself is assumed to be in [degree]. The [degree] and [minute] elements will always be integer, the [second] element will use floating point representation (see 0). A value of 37.331 degree will be displayed as 37°19'51.6".

 

MKI_FRACTION_DEGREE_MIXED (7)

The value will be split into [degree], [minute] and [second] elements, where the value itself is assumed to be in [degree]. The [degree] and [minute] elements will always be integer, the [second] element will use mixed fraction representation (see 1). A value of 37.331 degree will be displayed as 37°19'51 5/8".

 

The following values are allowed for length-based numbers only, not for angles:

 

MKI_FRACTION_INCH_FLOAT (2)

The value will be split into [foot] and [inch] elements, where the value itself will be converted to [inch]. The [foot] element will always be integer, the [inch] element will use floating point representation (see 0). A value of 170.75 inch will be displayed as 14'2.75".

 

MKI_FRACTION_INCH_MIXED (3)

The value will be split into [foot] and [inch] elements, where the value itself will be converted to [inch]. The [foot] element will always be integer, the [inch] element will use mixed fraction representation (see 1). A value of 170.75 inch will be displayed as 14'2 3/4".

 

MKI_FRACTION_YARD_FLOAT (4)

The value will be split into [yard], [foot] and [inch] elements, where the value itself will be converted to [inch]. The [yard] and [foot] elements will always be integer, the [inch] element will use floating point representation (see 0). A value of 170.75 inch will be displayed as 4yd2'2.75".

 

MKI_FRACTION_YARD_MIXED (5)

The value will be split into [yard], [foot] and [inch] elements, where the value itself will be converted to [inch]. The [yard] and [foot] elements will always be integer, the [inch] element will use mixed fraction representation (see 1). A value of 170.75 inch will be displayed as 4yd2'2 3/4".

 

MKI_FRACTION_ARCHITECT_FLOAT (8)

The value will be displayed using floating point representation, i.e. with a decimal separator and following fractional digits, e.g. 10.75. Values below one will be multiplied by 100 before display. This setting in mainly used for architectural drawings based on meters. How trailing zeros are handled depends on user settings in the application. The number of fractional digits always counts starting with whole meters.

 

MKI_FRACTION_ARCHITECT_CM (9)

The value will be displayed using floating point representation, the value itself will be converted to meters. If the value is below 1 meter, it will be converted to centimeters. The output is rounded to whole centimeters.

 

MKI_FRACTION_ARCHITECT_HALF_CM (10)

The value will be displayed using floating point representation, the value itself will be converted to meters. If the value is below 1 meter, it will be converted to centimeters. The output is rounded to half centimeters, values below one centimeter will be displayed in superscript digits.

 

MKI_FRACTION_ARCHITECT_QUARTER_CM (11)

The value will be displayed using floating point representation, the value itself will be converted to meters. If the value is below 1 meter, it will be converted to centimeters. The output is rounded to quarters of a centimeter, values below one centimeter will be displayed in superscript digits.

 

MKI_FRACTION_ARCHITECT_TENTH_CM (12)

The value will be displayed using floating point representation, the value itself will be converted to meters. If the value is below 1 meter, it will be converted to centimeters. The output is rounded to tenth of a centimeter, values below one centimeter will be displayed in superscript digits.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH