TdwgReader fails to open this file

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: support, SDS, admin

Post Reply
Posts: 5
Joined: 09 Mar 2018, 14:43

TdwgReader fails to open this file

Post by KKesslau_SEMA » 14 May 2019, 10:39

Hello there,

we encountered the problem that the TdwgReader fails to open/read this specific dwg-file:

The file format reads as AC1014. The problem seems to lie within this file, because we can import other DWG-files with AC1014 without a problem. We converted this file to AC1027 and it worked without a problem. But not all of our costumers have for example AutoCAT LT to convert the files.
Opening the file in a viewer (i used Autodesk DWG TrueView 2016 and 2019) also works.

I debugged the import and it seems that the error occurs at

Code: Select all

in the Unit DWG.pas.

Can you look into it?

Thanks in advance,

Posts: 2930
Joined: 30 Mar 2005, 11:36

Re: TdwgReader fails to open this file

Post by support » 14 May 2019, 19:06

Hello Kevin,

Thank you for the file.

We could reproduce the Access Violation error when reading this file, it occurs in a TdwgDataBase.ReadSubEnts procedure (DWG.pas). I have forwarded the problem to CAD VCL development team by opening a support case.

Technical Support E-mail:
Chat support on Skype:

Post Reply