Qcad import error

QCAD Version: 3.32.9.0
Downloaded package (file name): qcad-3.32.9-pro-win64-qt6-installer.msi
Operating System: Win 11

Hi folks. Attached is a zip file containing two folders. One folder is named circle and the other square. Inside each folder is a DXF named 1.dxf. If you open Qcad and drag-and-drop file 1.dxf from the circle folder, you get a circle. If you then drag-and-drop the 1.dxf file from the square folder you also get a circle. However, the 1.dxf file in the square folder actually contains a square. So it looks like Qcad is storing the contents of the dxf file, instead of replacing it with the newly dragged file.

QCAD IMPORT ERROR.zip (19.2 KB)

This is expected behavior.

Here’s why:

  • when dragging the file circle/1.dxf into the drawing area, QCAD creates a block from its content. The block name is the file name “1”. You can see that block in the block list (View > Block List).
  • when dragging the file square/1.dxf into the drawing area, QCAD again wants to create a block from its content, again named “1”. However, since there is already a block with that name, that block is used instead of creating a new one, unless Overwrite Blocks is checked in the options toolbar. If Overwrite Blocks is checked, both items become squares since the existing block “1” is overwritten with the square.

For more flexibility, you can use File > Import… instead. This tool allows you to insert a drawing as a block with a given name, so you could insert the circle as block “circle” and the square as block “square”. You can also choose to not create a block at all with this tool.

Thanks for the very quick reply Andrew. It never occurred to me that this was intentional behaviour - but your reply explains it well.

Cheers,

Mick.