Setting the Dimension Text Format
This section shows how to set the format for subsequent dimension values.
The format for metric, angular, and decimal inches (for example, 2.1) is defined using a format string. The format for fractional inches (for example, 1/16) is defined using a format value and a format string.
Format String
The format string defines:
The type of decimal period: a comma (,) or point (.).
The suppression of zeroes before the decimal period (left zero suppression).
The suppression of zeroes after the decimal period (right zero suppression).
The number of decimal places.
Creo Elements/Direct Drafting has a default format string which defines:
The decimal period as a point (.).
No left zero suppression. For example, 0.21 appears as 0.21.
Right zero suppression. For example, 2.100 appears as 2.1.
The dimension value to be displayed to two decimal places.
For example, 2.2354 appears as 2.24 and 12.299 appears as 12.3 (notice the right zero suppression).
This format is general and may not suit certain types of dimensioning. For example: large scale dimensions, precision dimensions, and so on. Using the SET FORMAT command you can enter your own format string.
Format Value
The format for fractional inches is defined using a format value and a format string. The format value defines the highest denominator for the fractions, for example, 128. The Creo Elements/Direct Drafting default is 64. Allowable values are: 2, 4, 8, 16, 32, 64, and 128.
表 5 explains the format string using six examples of how Creo Elements/Direct Drafting would display 10.000, 3.142, and 0.090.
Table 6. Format Strings
Format String
Represents
'1,'
Dimension values with a decimal comma, left zeroes not suppressed, right zeroes suppressed, and no decimal places quoted. Creo Elements/Direct Drafting displays the values
10, 3, and 0.
'0.1'
Dimension values with a decimal point, left zeroes not suppressed, right zeroes suppressed, and one decimal place quoted. Creo Elements/Direct Drafting displays the values
10, 3.1, and 0.1.
'1,1'
Dimension values with a decimal comma, both left and right zeroes suppressed, and one decimal place quoted. Creo Elements/Direct Drafting displays the values
10, 3,1, and ,1.
'1.000'
Dimension values with a decimal point, with left zero suppression, right zeroes not suppressed, three decimal places quoted. Creo Elements/Direct Drafting displays the values
10.000, 3.142, and .090.
'0,001'
Dimension values with a decimal comma, left zeroes not suppressed, right zeroes suppressed, three decimal places quoted. Creo Elements/Direct Drafting displays the values
10, 3,142, and 0,09.
'+1,001'
Dimension values with a decimal comma, with left and right zero suppression, three decimal places quoted, plus included in value. Creo Elements/Direct Drafting displays the values
+10, +3,142, and +,09.
To set the dimension text format:
1. Pick SET TEXTS from the DIMENSION 3 screen menu.
2. Pick SET FORMAT, then pick the required units in OPTIONS.
3. Enter the format string (in quotes ' ' or " "), or for fractions, the format value and format string (in quotes ' ' or " ").
Creo Elements/Direct Drafting sets the format for all subsequent dimension values. If necessary, the style display window is also updated to show the newly-set dimension format.
これは役に立ちましたか?