Issue description
When importing an XYZ file into Archicad, you may encounter the error: "{fileName} is invalid and cannot be imported." This error occurs if the file structure doesn’t match Archicad’s expected format.
Solution
Open the file in a text editor and check the following:
- Ensure the file contains only numeric values. Non-numeric lines are treated as comments.
- Verify the file has exactly three columns: X, Y, and Z. Remove all headers or extra columns.
- Use a consistent separator (semicolon, space, or tab) throughout.
- Delete rows that contain 0 coordinates in all columns.
- After saving your edits, try importing the file again in Archicad. If the problem persists, make sure the file is saved as plain text (UTF-8 encoding).
Example
- Incorrect formatting:
- Correctly formatted table with 3 columns of X,Y,Z data: