Set the Output Units
- Last UpdatedJan 24, 2023
- 2 minute read
Keywords
OUTPUT_UNITS
Description
The command controls how Export-DGN writes units to the attribute file. It does not affect unit handling within the DGN file. The default is use AVEVA E3D Design internal units (typically millimetres).
Examples
|
OUTPUT_UNITS RAW |
Use AVEVA E3D Design internal units, this should not be combined with any other OUTPUT_UNITS command |
|
OUTPUT_UNITS MM DECIMAL 3 |
When writing a value in millimetres, use three decimal places. |
|
OUTPUT_UNITS INCH DECIMAL 2 |
When writing a value in inches, use two decimal places. |
|
OUTPUT_UNITS FINCH FRACTION 32 |
When writing a value in feet and inches, use fractions as small as 1/32 of an inch. |
|
OUTPUT_UNITS BORE NOMINAL MM DECIMAL 3 |
When writing a value which is in bore units, output the nominal bore in millimetres to three decimal places. |
|
OUTPUT_UNITS BORE ACTUAL INCH |
When writing a value which is in bore units, output the actual bore in inches to the ordinary inch precision. |
|
OUTPUT_UNITS DISTANCE FINCH FRACTION 64 |
When writing a value in distance units, output in feet and inches to 1/64 of an inch. |
Here are some examples of sets of OUTPUT_UNIT commands:
If bore and distance values are to be reported in millimetres, using the nominal bore to one decimal place, all other dimensions to three decimal places the user should include:
OUTPUT_UNITS MM DECIMAL 3
OUTPUT_UNITS DISTANCE MM
OUTPUT_UNITS BORE NOMINAL MM DECIMAL 1
If distances are to be in feet, inches and eighths of an inch, actual bores in inches to three decimal places, and any other inch dimensions to one decimal place the user should include:
OUTPUT_UNITS DISTANCE FINCH FRACTION 8
OUTPUT_UNITS BORE ACTUAL INCH DECIMAL 3
OUTPUT_UNITS INCH DECIMAL 1