1. Home
  2. Error: Syntax error or premature end of file on line xxxx

Error: Syntax error or premature end of file on line xxxx

You exported the pratical reinforcement as a dxf. When you try to open the dxf in AutoCAD, you get the error

Syntax error or premature end of file on line xxxx.
Invalid or incomplete DXF input — drawing descarded

[In Diamonds 2024]
  • Close all Diamonds 2024 projects.
  • Download the patch-file from WeTransfer.
    Unzip it in a folder.
  • Go to the installation folder of Diamonds
    C:\Program Files\BuildSoft\Diamonds 2024\Reinforcement Design\
  • Drag the content of the unzipped folder into the install C:\Program Files\BuildSoft\Diamonds 2024\Reinforcement Design\. Overwrite when you’re asked to do so.
  • Start Diamonds 2024 and create the dxf again.

Solution 2

  • NanoCAD 5 is basic CAD-program that is free to download/use. Open the corrupt dxf-file in NanoCAD and do a save as.
  • The save-as-dxf will open in AutoCAD.

Was this article helpful?

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT