Import/export using point file, point coordinates
Options, terrain
Point coordinates:
You can define a custom ASCII format for point files here. You can enter the following values for each parameter (point no., X, Y, Z coordinates and point code):
First column
|
The number of the first column (1 - 120 less the number of leading digits and decimal places)
|
Leading digits
|
Number of leading digits (0 is not a permitted value!)
In No./label: number of digits for primary point number or label If the value of the decimal places is 0, the label is imported or exported. If you have not specified a label, Allplan creates it from the primary and secondary point numbers when exporting. If the label is a numerical value consisting of up to 8 digits (can also precede a decimal point), the primary and secondary point numbers are derived from this value when you import data. The places after the decimal point are ignored.
|
Decimal places
|
Number of decimal places (0 = integer format)
In No./label: number of digits for secondary point number (0 = export and import of label, see above). Enter 4 to export the secondary point number. When you enter a value between 1 and 4, the system will not create a label when importing. With this setting, points with alphanumeric values are not imported.
|
Unit
|
m - the system uses the leading digits and decimal places defined to output the coordinate values in ‘m’
|
|
mm - the system uses the leading digits and decimal places defined to output the coordinate values in ‘mm'
|
|
|
The header is only relevant when the file is written to disk. When you close the dialog box, the system checks automatically whether the formats you entered overlap.
2D entities like lines, polylines and splines can also be processed using their control points.
Example
Notes on point coordinates:
- When you set Leading digits, include the sign.
- The decimal point is irrelevant for Leading digits and Decimal places.
- When you create an integer format definition (i.e. when decimal places is set to 0) and you enter a value that is not ‘right-aligned’, the system pads the missing digits with zeros. This can produce errors but can also be used intentionally e.g., in the REB data format.
- The data in the data line can be any sequence.
- No./label and Code can also be specified as decimal values.
- If parameters are to be ignored, position the First column in a ‘blank’ column and set Leading digits and Decimal places to 1 and 0 respectively.
- The primary point number and the secondary point number may consist of a maximum of four digits (any value between 1-9999). For creating the primary and secondary point numbers, the maximum length for No./label is consequently 8 digits without decimal point or 4 digits each before and after the decimal point. For creating numbers based on a numerical label, the maximum length is 8 digits before the decimal point (if available).
For creating the label, the maximum length for No./label is 12 characters.